package com.navinfo.tripanalysis.common.arithmetic.convert;

import com.navinfo.tripanalysis.common.arithmetic.common.InterCrossCity;
import com.navinfo.tripanalysis.common.arithmetic.common.InterRangeData;
import com.navinfo.tripanalysis.common.arithmetic.common.OuterStatisticData;
import com.navinfo.tripanalysis.common.util.GsonUtils;
import org.bson.Document;

import java.util.HashMap;
import java.util.Map;

/**
 * 行程数据与mongo数据库格式转换
 *
 * @author 沈东生
 */
public class StatisticDataMongoConvert {
    /**
     * 行程Pojo转换为Document对象
     *
     * @param m
     * @return
     */
    public static Document toDocument(OuterStatisticData m) {
        Document doc = new Document();
        /*--start_schema*/
        if(m.getUid()!=null){ doc.put("uid",m.getUid());}
        if(m.getTid()!=null){ doc.put("tid",m.getTid());}
        if(m.getTripId()!=null){ doc.put("tripId",m.getTripId());}
        if(m.getRouteStartTime()!=null){ doc.put("routeSTime",m.getRouteStartTime());}
        if(m.getRouteStartLc()!=null){ doc.put("routeSLc",m.getRouteStartLc());}
        if(m.getRouteStartLatitude()!=null){ doc.put("routeSLatitude",m.getRouteStartLatitude());}
        if(m.getRouteStartLongitude()!=null){ doc.put("routeSLongitude",m.getRouteStartLongitude());}
        if(m.getRouteStartHeight()!=null){ doc.put("routeSHeight",m.getRouteStartHeight());}
        if(m.getRouteStartDirection()!=null){ doc.put("routeSDir",m.getRouteStartDirection());}
        if(m.getRouteStartMileage()!=null){ doc.put("routeSMil",m.getRouteStartMileage());}
        if(m.getRouteStartFuel()!=null){ doc.put("routeSFue",m.getRouteStartFuel());}
        if(m.getRouteEndTime()!=null){ doc.put("routeETime",m.getRouteEndTime());}
        if(m.getRouteEndLc()!=null){ doc.put("routeELc",m.getRouteEndLc());}
        if(m.getRouteEndLatitude()!=null){ doc.put("routeELatitude",m.getRouteEndLatitude());}
        if(m.getRouteEndLongitude()!=null){ doc.put("routeELongitude",m.getRouteEndLongitude());}
        if(m.getRouteEndHeight()!=null){ doc.put("routeEHeight",m.getRouteEndHeight());}
        if(m.getRouteEndDirection()!=null){ doc.put("routeEDir",m.getRouteEndDirection());}
        if(m.getRouteEndMileage()!=null){ doc.put("routeEMil",m.getRouteEndMileage());}
        if(m.getRouteEndFuel()!=null){ doc.put("routeEFue",m.getRouteEndFuel());}
        if(m.getRouteIntegralMileage()!=null){ doc.put("routeIMil",m.getRouteIntegralMileage());}
        if(m.getRouteIntegralFuel()!=null){ doc.put("routeIFue",m.getRouteIntegralFuel());}
        if(m.getTripPower()!=null){ doc.put("tripPower",m.getTripPower());}
        if(m.getStype()!=null){ doc.put("stype",m.getStype());}
        if(m.getTripMileage()!=null){ doc.put("tripMil",m.getTripMileage());}
        if(m.getTripFuel()!=null){ doc.put("tripFue",m.getTripFuel());}
        if(m.getTripDuration()!=null){ doc.put("tripDur",m.getTripDuration());}
        if(m.getRouteStopFlag()!=null){ doc.put("routeSFlag",m.getRouteStopFlag());}
        if(m.getCrossDayFlag()!=null){ doc.put("crossDFlag",m.getCrossDayFlag());}
        if(m.getForceEndFlag()!=null){ doc.put("forceEFlag",m.getForceEndFlag());}
        if(m.getMaxSpeed()!=null){ doc.put("maxSpeed",m.getMaxSpeed());}
        if(m.getMinSpeed()!=null){ doc.put("minSpeed",m.getMinSpeed());}
        if(m.getMaxUsefulSpeed()!=null){ doc.put("maxUSpeed",m.getMaxUsefulSpeed());}
        if(m.getMinUsefulSpeed()!=null){ doc.put("minUSpeed",m.getMinUsefulSpeed());}
        if(m.getInGearCoastMileage()!=null){ doc.put("inGcMil",m.getInGearCoastMileage());}
        if(m.getInGearCoastDuration()!=null){ doc.put("inGcDur",m.getInGearCoastDuration());}
        if(m.getInGearCoastNumber()!=null){ doc.put("inGcNum",m.getInGearCoastNumber());}
        if(m.getBrakeNumber()!=null){ doc.put("brakeNum",m.getBrakeNumber());}
        if(m.getBrakeMileage()!=null){ doc.put("brakeMil",m.getBrakeMileage());}
        if(m.getBrakeDuration()!=null){ doc.put("brakeDur",m.getBrakeDuration());}
        if(m.getVehicleEstimatedLoad()!=null){ doc.put("vehicleELoad",m.getVehicleEstimatedLoad());}
        if(m.getNeutralGearCoastDuration()!=null){ doc.put("neutralGcDur",m.getNeutralGearCoastDuration());}
        if(m.getNeutralGearCoastFuel()!=null){ doc.put("neutralGcFue",m.getNeutralGearCoastFuel());}
        if(m.getNeutralGearCoastMileage()!=null){ doc.put("neutralGcMil",m.getNeutralGearCoastMileage());}
        if(m.getNeutralGearCoastNumber()!=null){ doc.put("neutralGcNum",m.getNeutralGearCoastNumber());}
        if(m.getIdleFuel()!=null){ doc.put("idleFue",m.getIdleFuel());}
        if(m.getIdleDuration()!=null){ doc.put("idleDur",m.getIdleDuration());}
        if(m.getIdleNumber()!=null){ doc.put("idleNum",m.getIdleNumber());}
        if(m.getParkingPowerOnDuration()!=null){ doc.put("parkingPoDur",m.getParkingPowerOnDuration());}
        if(m.getCityDrivingMileage()!=null){ doc.put("cityDMil",m.getCityDrivingMileage());}
        if(m.getCityDrivingDuration()!=null){ doc.put("cityDDur",m.getCityDrivingDuration());}
        if(m.getCityDrivingFuel()!=null){ doc.put("cityDFue",m.getCityDrivingFuel());}
        if(m.getRuralDrivingMileage()!=null){ doc.put("ruralDMil",m.getRuralDrivingMileage());}
        if(m.getRuralDrivingDuration()!=null){ doc.put("ruralDDur",m.getRuralDrivingDuration());}
        if(m.getRuralDrivingFuel()!=null){ doc.put("ruralDFue",m.getRuralDrivingFuel());}
        if(m.getEcoDrivingMileage()!=null){ doc.put("ecoDMil",m.getEcoDrivingMileage());}
        if(m.getEcoDrivingDuration()!=null){ doc.put("ecoDDur",m.getEcoDrivingDuration());}
        if(m.getEcoDrivingFuel()!=null){ doc.put("ecoDFue",m.getEcoDrivingFuel());}
        if(m.getUpSlopeDrivingMileage()!=null){ doc.put("upSdMil",m.getUpSlopeDrivingMileage());}
        if(m.getUpSlopeDrivingDuration()!=null){ doc.put("upSdDur",m.getUpSlopeDrivingDuration());}
        if(m.getUpSlopeDrivingFuel()!=null){ doc.put("upSdFue",m.getUpSlopeDrivingFuel());}
        if(m.getDownSlopeDrivingMileage()!=null){ doc.put("downSdMil",m.getDownSlopeDrivingMileage());}
        if(m.getDownSlopeDrivingDuration()!=null){ doc.put("downSdDur",m.getDownSlopeDrivingDuration());}
        if(m.getDownSlopeDrivingFuel()!=null){ doc.put("downSdFue",m.getDownSlopeDrivingFuel());}
        if(m.getLevelRoadDrivingMileage()!=null){ doc.put("levelRdMil",m.getLevelRoadDrivingMileage());}
        if(m.getLevelRoadDrivingDuration()!=null){ doc.put("levelRdDur",m.getLevelRoadDrivingDuration());}
        if(m.getLevelRoadDrivingFuel()!=null){ doc.put("levelRdFue",m.getLevelRoadDrivingFuel());}
        if(m.getCruiseMileage()!=null){ doc.put("cruiseMil",m.getCruiseMileage());}
        if(m.getCruiseDuration()!=null){ doc.put("cruiseDur",m.getCruiseDuration());}
        if(m.getCruiseFuel()!=null){ doc.put("cruiseFue",m.getCruiseFuel());}
        if(m.getShiftGearsNumber()!=null){ doc.put("shiftGNum",m.getShiftGearsNumber());}
        if(m.getSharpDownSpeedDuration()!=null){ doc.put("sharpDsDur",m.getSharpDownSpeedDuration());}
        if(m.getSharpDownSpeedMileage()!=null){ doc.put("sharpDsMil",m.getSharpDownSpeedMileage());}
        if(m.getSharpDownSpeedNumber()!=null){ doc.put("sharpDsNum",m.getSharpDownSpeedNumber());}
        if(m.getSharpUpSpeedDuration()!=null){ doc.put("sharpUsDur",m.getSharpUpSpeedDuration());}
        if(m.getSharpUpSpeedMileage()!=null){ doc.put("sharpUsMil",m.getSharpUpSpeedMileage());}
        if(m.getSharpUpSpeedNumber()!=null){ doc.put("sharpUsNum",m.getSharpUpSpeedNumber());}
        if(m.getSharpUpSpeedFuel()!=null){ doc.put("sharpUsFue",m.getSharpUpSpeedFuel());}
        if(m.getSharpStepOnGasMileage()!=null){ doc.put("sharpSogMil",m.getSharpStepOnGasMileage());}
        if(m.getSharpStepOnGasDuration()!=null){ doc.put("sharpSogDur",m.getSharpStepOnGasDuration());}
        if(m.getSharpStepOnGasFuel()!=null){ doc.put("sharpSogFue",m.getSharpStepOnGasFuel());}
        if(m.getSharpStepOnGasNumber()!=null){ doc.put("sharpSogNum",m.getSharpStepOnGasNumber());}
        if(m.getVehicleParkNumber()!=null){ doc.put("vehiclePNum",m.getVehicleParkNumber());}
        if(m.getVehicleStartNumber()!=null){ doc.put("vehicleSNum",m.getVehicleStartNumber());}
        if(m.getVehicleStartMileage()!=null){ doc.put("vehicleSMil",m.getVehicleStartMileage());}
        if(m.getVehicleStartDuration()!=null){ doc.put("vehicleSDur",m.getVehicleStartDuration());}
        if(m.getVehicleStartFuel()!=null){ doc.put("vehicleSFue",m.getVehicleStartFuel());}
        if(m.getVehicleColdStartNumber()!=null){ doc.put("vehicleCsNum",m.getVehicleColdStartNumber());}
        if(m.getVehicleColdStartMileage()!=null){ doc.put("vehicleCsMil",m.getVehicleColdStartMileage());}
        if(m.getVehicleColdStartDuration()!=null){ doc.put("vehicleCsDur",m.getVehicleColdStartDuration());}
        if(m.getVehicleColdStartFuel()!=null){ doc.put("vehicleCsFue",m.getVehicleColdStartFuel());}
        if(m.getChargeFuelPercent()!=null){ doc.put("chargeFPercent",m.getChargeFuelPercent());}
        if(m.getChargeFuel()!=null){ doc.put("chargeFue",m.getChargeFuel());}
        if(m.getLeakFuelPercent()!=null){ doc.put("leakFPercent",m.getLeakFuelPercent());}
        if(m.getLeakFuel()!=null){ doc.put("leakFue",m.getLeakFuel());}
        if(m.getGasStabilityNumber()!=null){ doc.put("gasSNum",m.getGasStabilityNumber());}
        if(m.getGasStabilityDuration()!=null){ doc.put("gasSDur",m.getGasStabilityDuration());}
        if(m.getGasOpenPercentSum()!=null){ doc.put("gasOpSum",m.getGasOpenPercentSum());}
        if(m.getGasOpenPercentCount()!=null){ doc.put("gasOpCount",m.getGasOpenPercentCount());}
        if(m.getSpeedRange01Mileage()!=null){ doc.put("speedR01Mil",m.getSpeedRange01Mileage());}
        if(m.getSpeedRange01Duration()!=null){ doc.put("speedR01Dur",m.getSpeedRange01Duration());}
        if(m.getSpeedRange01Fuel()!=null){ doc.put("speedR01Fue",m.getSpeedRange01Fuel());}
        if(m.getSpeedRange02Mileage()!=null){ doc.put("speedR02Mil",m.getSpeedRange02Mileage());}
        if(m.getSpeedRange02Duration()!=null){ doc.put("speedR02Dur",m.getSpeedRange02Duration());}
        if(m.getSpeedRange02Fuel()!=null){ doc.put("speedR02Fue",m.getSpeedRange02Fuel());}
        if(m.getSpeedRange03Mileage()!=null){ doc.put("speedR03Mil",m.getSpeedRange03Mileage());}
        if(m.getSpeedRange03Duration()!=null){ doc.put("speedR03Dur",m.getSpeedRange03Duration());}
        if(m.getSpeedRange03Fuel()!=null){ doc.put("speedR03Fue",m.getSpeedRange03Fuel());}
        if(m.getSpeedRange04Mileage()!=null){ doc.put("speedR04Mil",m.getSpeedRange04Mileage());}
        if(m.getSpeedRange04Duration()!=null){ doc.put("speedR04Dur",m.getSpeedRange04Duration());}
        if(m.getSpeedRange04Fuel()!=null){ doc.put("speedR04Fue",m.getSpeedRange04Fuel());}
        if(m.getSpeedRange05Mileage()!=null){ doc.put("speedR05Mil",m.getSpeedRange05Mileage());}
        if(m.getSpeedRange05Duration()!=null){ doc.put("speedR05Dur",m.getSpeedRange05Duration());}
        if(m.getSpeedRange05Fuel()!=null){ doc.put("speedR05Fue",m.getSpeedRange05Fuel());}
        if(m.getSpeedRange06Mileage()!=null){ doc.put("speedR06Mil",m.getSpeedRange06Mileage());}
        if(m.getSpeedRange06Duration()!=null){ doc.put("speedR06Dur",m.getSpeedRange06Duration());}
        if(m.getSpeedRange06Fuel()!=null){ doc.put("speedR06Fue",m.getSpeedRange06Fuel());}
        if(m.getSpeedRange07Mileage()!=null){ doc.put("speedR07Mil",m.getSpeedRange07Mileage());}
        if(m.getSpeedRange07Duration()!=null){ doc.put("speedR07Dur",m.getSpeedRange07Duration());}
        if(m.getSpeedRange07Fuel()!=null){ doc.put("speedR07Fue",m.getSpeedRange07Fuel());}
        if(m.getSpeedRange08Mileage()!=null){ doc.put("speedR08Mil",m.getSpeedRange08Mileage());}
        if(m.getSpeedRange08Duration()!=null){ doc.put("speedR08Dur",m.getSpeedRange08Duration());}
        if(m.getSpeedRange08Fuel()!=null){ doc.put("speedR08Fue",m.getSpeedRange08Fuel());}
        if(m.getSpeedRange09Mileage()!=null){ doc.put("speedR09Mil",m.getSpeedRange09Mileage());}
        if(m.getSpeedRange09Duration()!=null){ doc.put("speedR09Dur",m.getSpeedRange09Duration());}
        if(m.getSpeedRange09Fuel()!=null){ doc.put("speedR09Fue",m.getSpeedRange09Fuel());}
        if(m.getSpeedRange10Mileage()!=null){ doc.put("speedR10Mil",m.getSpeedRange10Mileage());}
        if(m.getSpeedRange10Duration()!=null){ doc.put("speedR10Dur",m.getSpeedRange10Duration());}
        if(m.getSpeedRange10Fuel()!=null){ doc.put("speedR10Fue",m.getSpeedRange10Fuel());}
        if(m.getSpeedRange11Mileage()!=null){ doc.put("speedR11Mil",m.getSpeedRange11Mileage());}
        if(m.getSpeedRange11Duration()!=null){ doc.put("speedR11Dur",m.getSpeedRange11Duration());}
        if(m.getSpeedRange11Fuel()!=null){ doc.put("speedR11Fue",m.getSpeedRange11Fuel());}
        if(m.getSpeedRange12Mileage()!=null){ doc.put("speedR12Mil",m.getSpeedRange12Mileage());}
        if(m.getSpeedRange12Duration()!=null){ doc.put("speedR12Dur",m.getSpeedRange12Duration());}
        if(m.getSpeedRange12Fuel()!=null){ doc.put("speedR12Fue",m.getSpeedRange12Fuel());}
        if(m.getExceedSpeedRangeMileage()!=null){ doc.put("exceedSrMil",m.getExceedSpeedRangeMileage());}
        if(m.getExceedSpeedRangeDuration()!=null){ doc.put("exceedSrDur",m.getExceedSpeedRangeDuration());}
        if(m.getExceedSpeedRangeFuel()!=null){ doc.put("exceedSrFue",m.getExceedSpeedRangeFuel());}
        if(m.getAssistBrakeMileage()!=null){ doc.put("assistBMil",m.getAssistBrakeMileage());}
        if(m.getAssistBrakeDuration()!=null){ doc.put("assistBDur",m.getAssistBrakeDuration());}
        if(m.getFatigueDrivingNumber()!=null){ doc.put("fatigueDNum",m.getFatigueDrivingNumber());}
        if(m.getParkThrottleDuration()!=null){ doc.put("parkTDur",m.getParkThrottleDuration());}
        if(m.getParkThrottleFuel()!=null){ doc.put("parkTFue",m.getParkThrottleFuel());}
        if(m.getEngineWorkDuration()!=null){ doc.put("engineWDur",m.getEngineWorkDuration());}
        if(m.getDrivingHandbrakeNumber()!=null){ doc.put("drivingHNum",m.getDrivingHandbrakeNumber());}
        if(m.getDrivingHandbrakeDuration()!=null){ doc.put("drivingHDur",m.getDrivingHandbrakeDuration());}
        if(m.getDrivingHandbrakeMileage()!=null){ doc.put("drivingHMil",m.getDrivingHandbrakeMileage());}
        if(m.getIdleHandbrakeNumber()!=null){ doc.put("idleHNum",m.getIdleHandbrakeNumber());}
        if(m.getIdleHandbrakeDuration()!=null){ doc.put("idleHDur",m.getIdleHandbrakeDuration());}
        if(m.getGear01Mileage()!=null){ doc.put("gear01Mil",m.getGear01Mileage());}
        if(m.getGear01Fuel()!=null){ doc.put("gear01Fue",m.getGear01Fuel());}
        if(m.getGear01Duration()!=null){ doc.put("gear01Dur",m.getGear01Duration());}
        if(m.getGear01Number()!=null){ doc.put("gear01Num",m.getGear01Number());}
        if(m.getGear02Mileage()!=null){ doc.put("gear02Mil",m.getGear02Mileage());}
        if(m.getGear02Fuel()!=null){ doc.put("gear02Fue",m.getGear02Fuel());}
        if(m.getGear02Duration()!=null){ doc.put("gear02Dur",m.getGear02Duration());}
        if(m.getGear02Number()!=null){ doc.put("gear02Num",m.getGear02Number());}
        if(m.getGear03Mileage()!=null){ doc.put("gear03Mil",m.getGear03Mileage());}
        if(m.getGear03Fuel()!=null){ doc.put("gear03Fue",m.getGear03Fuel());}
        if(m.getGear03Duration()!=null){ doc.put("gear03Dur",m.getGear03Duration());}
        if(m.getGear03Number()!=null){ doc.put("gear03Num",m.getGear03Number());}
        if(m.getGear04Mileage()!=null){ doc.put("gear04Mil",m.getGear04Mileage());}
        if(m.getGear04Fuel()!=null){ doc.put("gear04Fue",m.getGear04Fuel());}
        if(m.getGear04Duration()!=null){ doc.put("gear04Dur",m.getGear04Duration());}
        if(m.getGear04Number()!=null){ doc.put("gear04Num",m.getGear04Number());}
        if(m.getGear05Mileage()!=null){ doc.put("gear05Mil",m.getGear05Mileage());}
        if(m.getGear05Fuel()!=null){ doc.put("gear05Fue",m.getGear05Fuel());}
        if(m.getGear05Duration()!=null){ doc.put("gear05Dur",m.getGear05Duration());}
        if(m.getGear05Number()!=null){ doc.put("gear05Num",m.getGear05Number());}
        if(m.getGear06Mileage()!=null){ doc.put("gear06Mil",m.getGear06Mileage());}
        if(m.getGear06Fuel()!=null){ doc.put("gear06Fue",m.getGear06Fuel());}
        if(m.getGear06Duration()!=null){ doc.put("gear06Dur",m.getGear06Duration());}
        if(m.getGear06Number()!=null){ doc.put("gear06Num",m.getGear06Number());}
        if(m.getGear07Mileage()!=null){ doc.put("gear07Mil",m.getGear07Mileage());}
        if(m.getGear07Fuel()!=null){ doc.put("gear07Fue",m.getGear07Fuel());}
        if(m.getGear07Duration()!=null){ doc.put("gear07Dur",m.getGear07Duration());}
        if(m.getGear07Number()!=null){ doc.put("gear07Num",m.getGear07Number());}
        if(m.getGear08Mileage()!=null){ doc.put("gear08Mil",m.getGear08Mileage());}
        if(m.getGear08Fuel()!=null){ doc.put("gear08Fue",m.getGear08Fuel());}
        if(m.getGear08Duration()!=null){ doc.put("gear08Dur",m.getGear08Duration());}
        if(m.getGear08Number()!=null){ doc.put("gear08Num",m.getGear08Number());}
        if(m.getGear09Mileage()!=null){ doc.put("gear09Mil",m.getGear09Mileage());}
        if(m.getGear09Fuel()!=null){ doc.put("gear09Fue",m.getGear09Fuel());}
        if(m.getGear09Duration()!=null){ doc.put("gear09Dur",m.getGear09Duration());}
        if(m.getGear09Number()!=null){ doc.put("gear09Num",m.getGear09Number());}
        if(m.getGear10Mileage()!=null){ doc.put("gear10Mil",m.getGear10Mileage());}
        if(m.getGear10Fuel()!=null){ doc.put("gear10Fue",m.getGear10Fuel());}
        if(m.getGear10Duration()!=null){ doc.put("gear10Dur",m.getGear10Duration());}
        if(m.getGear10Number()!=null){ doc.put("gear10Num",m.getGear10Number());}
        if(m.getGear11Mileage()!=null){ doc.put("gear11Mil",m.getGear11Mileage());}
        if(m.getGear11Fuel()!=null){ doc.put("gear11Fue",m.getGear11Fuel());}
        if(m.getGear11Duration()!=null){ doc.put("gear11Dur",m.getGear11Duration());}
        if(m.getGear11Number()!=null){ doc.put("gear11Num",m.getGear11Number());}
        if(m.getGear12Mileage()!=null){ doc.put("gear12Mil",m.getGear12Mileage());}
        if(m.getGear12Fuel()!=null){ doc.put("gear12Fue",m.getGear12Fuel());}
        if(m.getGear12Duration()!=null){ doc.put("gear12Dur",m.getGear12Duration());}
        if(m.getGear12Number()!=null){ doc.put("gear12Num",m.getGear12Number());}
        if(m.getGear13Mileage()!=null){ doc.put("gear13Mil",m.getGear13Mileage());}
        if(m.getGear13Fuel()!=null){ doc.put("gear13Fue",m.getGear13Fuel());}
        if(m.getGear13Duration()!=null){ doc.put("gear13Dur",m.getGear13Duration());}
        if(m.getGear13Number()!=null){ doc.put("gear13Num",m.getGear13Number());}
        if(m.getGear14Mileage()!=null){ doc.put("gear14Mil",m.getGear14Mileage());}
        if(m.getGear14Fuel()!=null){ doc.put("gear14Fue",m.getGear14Fuel());}
        if(m.getGear14Duration()!=null){ doc.put("gear14Dur",m.getGear14Duration());}
        if(m.getGear14Number()!=null){ doc.put("gear14Num",m.getGear14Number());}
        if(m.getGear15Mileage()!=null){ doc.put("gear15Mil",m.getGear15Mileage());}
        if(m.getGear15Fuel()!=null){ doc.put("gear15Fue",m.getGear15Fuel());}
        if(m.getGear15Duration()!=null){ doc.put("gear15Dur",m.getGear15Duration());}
        if(m.getGear15Number()!=null){ doc.put("gear15Num",m.getGear15Number());}
        if(m.getGear16Mileage()!=null){ doc.put("gear16Mil",m.getGear16Mileage());}
        if(m.getGear16Fuel()!=null){ doc.put("gear16Fue",m.getGear16Fuel());}
        if(m.getGear16Duration()!=null){ doc.put("gear16Dur",m.getGear16Duration());}
        if(m.getGear16Number()!=null){ doc.put("gear16Num",m.getGear16Number());}
        if(m.getGearOtherMileage()!=null){ doc.put("gearOMil",m.getGearOtherMileage());}
        if(m.getGearOtherFuel()!=null){ doc.put("gearOFue",m.getGearOtherFuel());}
        if(m.getGearOtherDuration()!=null){ doc.put("gearODur",m.getGearOtherDuration());}
        if(m.getGearOtherNumber()!=null){ doc.put("gearONum",m.getGearOtherNumber());}
        if(m.getRpmRange500Mileage()!=null){ doc.put("rpmR500Mil",m.getRpmRange500Mileage());}
        if(m.getRpmRange500Fuel()!=null){ doc.put("rpmR500Fue",m.getRpmRange500Fuel());}
        if(m.getRpmRange500Duration()!=null){ doc.put("rpmR500Dur",m.getRpmRange500Duration());}
        if(m.getRpmRange600Mileage()!=null){ doc.put("rpmR600Mil",m.getRpmRange600Mileage());}
        if(m.getRpmRange600Fuel()!=null){ doc.put("rpmR600Fue",m.getRpmRange600Fuel());}
        if(m.getRpmRange600Duration()!=null){ doc.put("rpmR600Dur",m.getRpmRange600Duration());}
        if(m.getRpmRange700Mileage()!=null){ doc.put("rpmR700Mil",m.getRpmRange700Mileage());}
        if(m.getRpmRange700Fuel()!=null){ doc.put("rpmR700Fue",m.getRpmRange700Fuel());}
        if(m.getRpmRange700Duration()!=null){ doc.put("rpmR700Dur",m.getRpmRange700Duration());}
        if(m.getRpmRange800Mileage()!=null){ doc.put("rpmR800Mil",m.getRpmRange800Mileage());}
        if(m.getRpmRange800Fuel()!=null){ doc.put("rpmR800Fue",m.getRpmRange800Fuel());}
        if(m.getRpmRange800Duration()!=null){ doc.put("rpmR800Dur",m.getRpmRange800Duration());}
        if(m.getRpmRange900Mileage()!=null){ doc.put("rpmR900Mil",m.getRpmRange900Mileage());}
        if(m.getRpmRange900Fuel()!=null){ doc.put("rpmR900Fue",m.getRpmRange900Fuel());}
        if(m.getRpmRange900Duration()!=null){ doc.put("rpmR900Dur",m.getRpmRange900Duration());}
        if(m.getRpmRange1000Mileage()!=null){ doc.put("rpmR1000Mil",m.getRpmRange1000Mileage());}
        if(m.getRpmRange1000Fuel()!=null){ doc.put("rpmR1000Fue",m.getRpmRange1000Fuel());}
        if(m.getRpmRange1000Duration()!=null){ doc.put("rpmR1000Dur",m.getRpmRange1000Duration());}
        if(m.getRpmRange1100Mileage()!=null){ doc.put("rpmR1100Mil",m.getRpmRange1100Mileage());}
        if(m.getRpmRange1100Fuel()!=null){ doc.put("rpmR1100Fue",m.getRpmRange1100Fuel());}
        if(m.getRpmRange1100Duration()!=null){ doc.put("rpmR1100Dur",m.getRpmRange1100Duration());}
        if(m.getRpmRange1200Mileage()!=null){ doc.put("rpmR1200Mil",m.getRpmRange1200Mileage());}
        if(m.getRpmRange1200Fuel()!=null){ doc.put("rpmR1200Fue",m.getRpmRange1200Fuel());}
        if(m.getRpmRange1200Duration()!=null){ doc.put("rpmR1200Dur",m.getRpmRange1200Duration());}
        if(m.getRpmRange1300Mileage()!=null){ doc.put("rpmR1300Mil",m.getRpmRange1300Mileage());}
        if(m.getRpmRange1300Fuel()!=null){ doc.put("rpmR1300Fue",m.getRpmRange1300Fuel());}
        if(m.getRpmRange1300Duration()!=null){ doc.put("rpmR1300Dur",m.getRpmRange1300Duration());}
        if(m.getRpmRange1400Mileage()!=null){ doc.put("rpmR1400Mil",m.getRpmRange1400Mileage());}
        if(m.getRpmRange1400Fuel()!=null){ doc.put("rpmR1400Fue",m.getRpmRange1400Fuel());}
        if(m.getRpmRange1400Duration()!=null){ doc.put("rpmR1400Dur",m.getRpmRange1400Duration());}
        if(m.getRpmRange1500Mileage()!=null){ doc.put("rpmR1500Mil",m.getRpmRange1500Mileage());}
        if(m.getRpmRange1500Fuel()!=null){ doc.put("rpmR1500Fue",m.getRpmRange1500Fuel());}
        if(m.getRpmRange1500Duration()!=null){ doc.put("rpmR1500Dur",m.getRpmRange1500Duration());}
        if(m.getRpmRange1600Mileage()!=null){ doc.put("rpmR1600Mil",m.getRpmRange1600Mileage());}
        if(m.getRpmRange1600Fuel()!=null){ doc.put("rpmR1600Fue",m.getRpmRange1600Fuel());}
        if(m.getRpmRange1600Duration()!=null){ doc.put("rpmR1600Dur",m.getRpmRange1600Duration());}
        if(m.getRpmRange1700Mileage()!=null){ doc.put("rpmR1700Mil",m.getRpmRange1700Mileage());}
        if(m.getRpmRange1700Fuel()!=null){ doc.put("rpmR1700Fue",m.getRpmRange1700Fuel());}
        if(m.getRpmRange1700Duration()!=null){ doc.put("rpmR1700Dur",m.getRpmRange1700Duration());}
        if(m.getRpmRange1800Mileage()!=null){ doc.put("rpmR1800Mil",m.getRpmRange1800Mileage());}
        if(m.getRpmRange1800Fuel()!=null){ doc.put("rpmR1800Fue",m.getRpmRange1800Fuel());}
        if(m.getRpmRange1800Duration()!=null){ doc.put("rpmR1800Dur",m.getRpmRange1800Duration());}
        if(m.getRpmRange1900Mileage()!=null){ doc.put("rpmR1900Mil",m.getRpmRange1900Mileage());}
        if(m.getRpmRange1900Fuel()!=null){ doc.put("rpmR1900Fue",m.getRpmRange1900Fuel());}
        if(m.getRpmRange1900Duration()!=null){ doc.put("rpmR1900Dur",m.getRpmRange1900Duration());}
        if(m.getRpmRange2000Mileage()!=null){ doc.put("rpmR2000Mil",m.getRpmRange2000Mileage());}
        if(m.getRpmRange2000Fuel()!=null){ doc.put("rpmR2000Fue",m.getRpmRange2000Fuel());}
        if(m.getRpmRange2000Duration()!=null){ doc.put("rpmR2000Dur",m.getRpmRange2000Duration());}
        if(m.getRpmRange2100Mileage()!=null){ doc.put("rpmR2100Mil",m.getRpmRange2100Mileage());}
        if(m.getRpmRange2100Fuel()!=null){ doc.put("rpmR2100Fue",m.getRpmRange2100Fuel());}
        if(m.getRpmRange2100Duration()!=null){ doc.put("rpmR2100Dur",m.getRpmRange2100Duration());}
        if(m.getRpmRange2200Mileage()!=null){ doc.put("rpmR2200Mil",m.getRpmRange2200Mileage());}
        if(m.getRpmRange2200Fuel()!=null){ doc.put("rpmR2200Fue",m.getRpmRange2200Fuel());}
        if(m.getRpmRange2200Duration()!=null){ doc.put("rpmR2200Dur",m.getRpmRange2200Duration());}
        if(m.getRpmRange2300Mileage()!=null){ doc.put("rpmR2300Mil",m.getRpmRange2300Mileage());}
        if(m.getRpmRange2300Fuel()!=null){ doc.put("rpmR2300Fue",m.getRpmRange2300Fuel());}
        if(m.getRpmRange2300Duration()!=null){ doc.put("rpmR2300Dur",m.getRpmRange2300Duration());}
        if(m.getRpmRange2400Mileage()!=null){ doc.put("rpmR2400Mil",m.getRpmRange2400Mileage());}
        if(m.getRpmRange2400Fuel()!=null){ doc.put("rpmR2400Fue",m.getRpmRange2400Fuel());}
        if(m.getRpmRange2400Duration()!=null){ doc.put("rpmR2400Dur",m.getRpmRange2400Duration());}
        if(m.getRpmRange2500Mileage()!=null){ doc.put("rpmR2500Mil",m.getRpmRange2500Mileage());}
        if(m.getRpmRange2500Fuel()!=null){ doc.put("rpmR2500Fue",m.getRpmRange2500Fuel());}
        if(m.getRpmRange2500Duration()!=null){ doc.put("rpmR2500Dur",m.getRpmRange2500Duration());}
        if(m.getRpmRange2600Mileage()!=null){ doc.put("rpmR2600Mil",m.getRpmRange2600Mileage());}
        if(m.getRpmRange2600Fuel()!=null){ doc.put("rpmR2600Fue",m.getRpmRange2600Fuel());}
        if(m.getRpmRange2600Duration()!=null){ doc.put("rpmR2600Dur",m.getRpmRange2600Duration());}
        if(m.getRpmRange2700Mileage()!=null){ doc.put("rpmR2700Mil",m.getRpmRange2700Mileage());}
        if(m.getRpmRange2700Fuel()!=null){ doc.put("rpmR2700Fue",m.getRpmRange2700Fuel());}
        if(m.getRpmRange2700Duration()!=null){ doc.put("rpmR2700Dur",m.getRpmRange2700Duration());}
        if(m.getRpmRange2800Mileage()!=null){ doc.put("rpmR2800Mil",m.getRpmRange2800Mileage());}
        if(m.getRpmRange2800Fuel()!=null){ doc.put("rpmR2800Fue",m.getRpmRange2800Fuel());}
        if(m.getRpmRange2800Duration()!=null){ doc.put("rpmR2800Dur",m.getRpmRange2800Duration());}
        if(m.getRpmRange2900Mileage()!=null){ doc.put("rpmR2900Mil",m.getRpmRange2900Mileage());}
        if(m.getRpmRange2900Fuel()!=null){ doc.put("rpmR2900Fue",m.getRpmRange2900Fuel());}
        if(m.getRpmRange2900Duration()!=null){ doc.put("rpmR2900Dur",m.getRpmRange2900Duration());}
        if(m.getRpmRange3000Mileage()!=null){ doc.put("rpmR3000Mil",m.getRpmRange3000Mileage());}
        if(m.getRpmRange3000Fuel()!=null){ doc.put("rpmR3000Fue",m.getRpmRange3000Fuel());}
        if(m.getRpmRange3000Duration()!=null){ doc.put("rpmR3000Dur",m.getRpmRange3000Duration());}
        if(m.getRpmRangeOver3000Mileage()!=null){ doc.put("rpmRo3000Mil",m.getRpmRangeOver3000Mileage());}
        if(m.getRpmRangeOver3000Fuel()!=null){ doc.put("rpmRo3000Fue",m.getRpmRangeOver3000Fuel());}
        if(m.getRpmRangeOver3000Duration()!=null){ doc.put("rpmRo3000Dur",m.getRpmRangeOver3000Duration());}
//          Map<Integer,RangeData> altitudeRanges -->
//          Map<Integer,RangeData> clockRanges -->
        if(m.getWorkWaterTemp50Duration()!=null){ doc.put("workWt50Dur",m.getWorkWaterTemp50Duration());}
        if(m.getWorkWaterTemp70Duration()!=null){ doc.put("workWt70Dur",m.getWorkWaterTemp70Duration());}
        if(m.getWorkWaterTemp80Duration()!=null){ doc.put("workWt80Dur",m.getWorkWaterTemp80Duration());}
        if(m.getWorkWaterTemp85Duration()!=null){ doc.put("workWt85Dur",m.getWorkWaterTemp85Duration());}
        if(m.getWorkWaterTemp90Duration()!=null){ doc.put("workWt90Dur",m.getWorkWaterTemp90Duration());}
        if(m.getWorkWaterTemp95Duration()!=null){ doc.put("workWt95Dur",m.getWorkWaterTemp95Duration());}
        if(m.getWorkWaterTemp100Duration()!=null){ doc.put("workWt100Dur",m.getWorkWaterTemp100Duration());}
        if(m.getWorkWaterTemp105Duration()!=null){ doc.put("workWt105Dur",m.getWorkWaterTemp105Duration());}
        if(m.getWorkWaterTemp110Duration()!=null){ doc.put("workWt110Dur",m.getWorkWaterTemp110Duration());}
        if(m.getWorkWaterTemp115Duration()!=null){ doc.put("workWt115Dur",m.getWorkWaterTemp115Duration());}
        if(m.getWorkWaterTemp120Duration()!=null){ doc.put("workWt120Dur",m.getWorkWaterTemp120Duration());}
        if(m.getWorkWaterTemp125Duration()!=null){ doc.put("workWt125Dur",m.getWorkWaterTemp125Duration());}
        if(m.getWorkWaterTemp130Duration()!=null){ doc.put("workWt130Dur",m.getWorkWaterTemp130Duration());}
        if(m.getWorkWaterTemp135Duration()!=null){ doc.put("workWt135Dur",m.getWorkWaterTemp135Duration());}
        if(m.getWorkWaterTemp140Duration()!=null){ doc.put("workWt140Dur",m.getWorkWaterTemp140Duration());}
        if(m.getWorkWaterTemp145Duration()!=null){ doc.put("workWt145Dur",m.getWorkWaterTemp145Duration());}
        if(m.getWorkWaterTemp150Duration()!=null){ doc.put("workWt150Dur",m.getWorkWaterTemp150Duration());}
        if(m.getWorkWaterTempOver150Duration()!=null){ doc.put("workWto150Dur",m.getWorkWaterTempOver150Duration());}
        if(m.getIdleWaterTemp50Duration()!=null){ doc.put("idleWt50Dur",m.getIdleWaterTemp50Duration());}
        if(m.getIdleWaterTemp70Duration()!=null){ doc.put("idleWt70Dur",m.getIdleWaterTemp70Duration());}
        if(m.getIdleWaterTemp80Duration()!=null){ doc.put("idleWt80Dur",m.getIdleWaterTemp80Duration());}
        if(m.getIdleWaterTemp85Duration()!=null){ doc.put("idleWt85Dur",m.getIdleWaterTemp85Duration());}
        if(m.getIdleWaterTemp90Duration()!=null){ doc.put("idleWt90Dur",m.getIdleWaterTemp90Duration());}
        if(m.getIdleWaterTemp95Duration()!=null){ doc.put("idleWt95Dur",m.getIdleWaterTemp95Duration());}
        if(m.getIdleWaterTemp100Duration()!=null){ doc.put("idleWt100Dur",m.getIdleWaterTemp100Duration());}
        if(m.getIdleWaterTemp105Duration()!=null){ doc.put("idleWt105Dur",m.getIdleWaterTemp105Duration());}
        if(m.getIdleWaterTemp110Duration()!=null){ doc.put("idleWt110Dur",m.getIdleWaterTemp110Duration());}
        if(m.getIdleWaterTemp115Duration()!=null){ doc.put("idleWt115Dur",m.getIdleWaterTemp115Duration());}
        if(m.getIdleWaterTemp120Duration()!=null){ doc.put("idleWt120Dur",m.getIdleWaterTemp120Duration());}
        if(m.getIdleWaterTemp125Duration()!=null){ doc.put("idleWt125Dur",m.getIdleWaterTemp125Duration());}
        if(m.getIdleWaterTemp130Duration()!=null){ doc.put("idleWt130Dur",m.getIdleWaterTemp130Duration());}
        if(m.getIdleWaterTemp135Duration()!=null){ doc.put("idleWt135Dur",m.getIdleWaterTemp135Duration());}
        if(m.getIdleWaterTemp140Duration()!=null){ doc.put("idleWt140Dur",m.getIdleWaterTemp140Duration());}
        if(m.getIdleWaterTemp145Duration()!=null){ doc.put("idleWt145Dur",m.getIdleWaterTemp145Duration());}
        if(m.getIdleWaterTemp150Duration()!=null){ doc.put("idleWt150Dur",m.getIdleWaterTemp150Duration());}
        if(m.getIdleWaterTempOver150Duration()!=null){ doc.put("idleWto150Dur",m.getIdleWaterTempOver150Duration());}
        if(m.getMaxWorkWaterTemp()!=null){ doc.put("maxWwTemp",m.getMaxWorkWaterTemp());}
        if(m.getMinWorkWaterTemp()!=null){ doc.put("minWwTemp",m.getMinWorkWaterTemp());}
        if(m.getWorkWaterTempSum()!=null){ doc.put("workWtSum",m.getWorkWaterTempSum());}
        if(m.getWorkWaterTempCount()!=null){ doc.put("workWtCount",m.getWorkWaterTempCount());}
        if(m.getMaxIdleWaterTemp()!=null){ doc.put("maxIwTemp",m.getMaxIdleWaterTemp());}
        if(m.getMinIdleWaterTemp()!=null){ doc.put("minIwTemp",m.getMinIdleWaterTemp());}
        if(m.getIdleWaterTempSum()!=null){ doc.put("idleWtSum",m.getIdleWaterTempSum());}
        if(m.getIdleWaterTempCount()!=null){ doc.put("idleWtCount",m.getIdleWaterTempCount());}
        if(m.getGasOpenPercent0Duration()!=null){ doc.put("gasOp0Dur",m.getGasOpenPercent0Duration());}
        if(m.getGasOpenPercent10Duration()!=null){ doc.put("gasOp10Dur",m.getGasOpenPercent10Duration());}
        if(m.getGasOpenPercent20Duration()!=null){ doc.put("gasOp20Dur",m.getGasOpenPercent20Duration());}
        if(m.getGasOpenPercent30Duration()!=null){ doc.put("gasOp30Dur",m.getGasOpenPercent30Duration());}
        if(m.getGasOpenPercent40Duration()!=null){ doc.put("gasOp40Dur",m.getGasOpenPercent40Duration());}
        if(m.getGasOpenPercent50Duration()!=null){ doc.put("gasOp50Dur",m.getGasOpenPercent50Duration());}
        if(m.getGasOpenPercent60Duration()!=null){ doc.put("gasOp60Dur",m.getGasOpenPercent60Duration());}
        if(m.getGasOpenPercent70Duration()!=null){ doc.put("gasOp70Dur",m.getGasOpenPercent70Duration());}
        if(m.getGasOpenPercent80Duration()!=null){ doc.put("gasOp80Dur",m.getGasOpenPercent80Duration());}
        if(m.getGasOpenPercent90Duration()!=null){ doc.put("gasOp90Dur",m.getGasOpenPercent90Duration());}
        if(m.getGasOpenPercent99Duration()!=null){ doc.put("gasOp99Dur",m.getGasOpenPercent99Duration());}
        if(m.getGasOpenPercent100Duration()!=null){ doc.put("gasOp100Dur",m.getGasOpenPercent100Duration());}
        if(m.getTorque0Duration()!=null){ doc.put("torque0Dur",m.getTorque0Duration());}
        if(m.getTorque10Duration()!=null){ doc.put("torque10Dur",m.getTorque10Duration());}
        if(m.getTorque20Duration()!=null){ doc.put("torque20Dur",m.getTorque20Duration());}
        if(m.getTorque30Duration()!=null){ doc.put("torque30Dur",m.getTorque30Duration());}
        if(m.getTorque40Duration()!=null){ doc.put("torque40Dur",m.getTorque40Duration());}
        if(m.getTorque50Duration()!=null){ doc.put("torque50Dur",m.getTorque50Duration());}
        if(m.getTorque60Duration()!=null){ doc.put("torque60Dur",m.getTorque60Duration());}
        if(m.getTorque70Duration()!=null){ doc.put("torque70Dur",m.getTorque70Duration());}
        if(m.getTorque80Duration()!=null){ doc.put("torque80Dur",m.getTorque80Duration());}
        if(m.getTorque90Duration()!=null){ doc.put("torque90Dur",m.getTorque90Duration());}
        if(m.getTorque99Duration()!=null){ doc.put("torque99Dur",m.getTorque99Duration());}
        if(m.getTorque100Duration()!=null){ doc.put("torque100Dur",m.getTorque100Duration());}
        if(m.getMaxTorque()!=null){ doc.put("maxTorque",m.getMaxTorque());}
        if(m.getMinTorque()!=null){ doc.put("minTorque",m.getMinTorque());}
        if(m.getTorqueSum()!=null){ doc.put("torqueSum",m.getTorqueSum());}
        if(m.getTorqueCount()!=null){ doc.put("torqueCount",m.getTorqueCount());}
        if(m.getNoIdleRpmSum()!=null){ doc.put("noIrSum",m.getNoIdleRpmSum());}
        if(m.getNoIdleRpmCount()!=null){ doc.put("noIrCount",m.getNoIdleRpmCount());}
        if(m.getRpmSum()!=null){ doc.put("rpmSum",m.getRpmSum());}
        if(m.getRpmCount()!=null){ doc.put("rpmCount",m.getRpmCount());}
        if(m.getMaxRpm()!=null){ doc.put("maxRpm",m.getMaxRpm());}
        if(m.getMinRpm()!=null){ doc.put("minRpm",m.getMinRpm());}
        if(m.getIat50Duration()!=null){ doc.put("iat50Dur",m.getIat50Duration());}
        if(m.getIat70Duration()!=null){ doc.put("iat70Dur",m.getIat70Duration());}
        if(m.getIat80Duration()!=null){ doc.put("iat80Dur",m.getIat80Duration());}
        if(m.getIat85Duration()!=null){ doc.put("iat85Dur",m.getIat85Duration());}
        if(m.getIat90Duration()!=null){ doc.put("iat90Dur",m.getIat90Duration());}
        if(m.getIat95Duration()!=null){ doc.put("iat95Dur",m.getIat95Duration());}
        if(m.getIat100Duration()!=null){ doc.put("iat100Dur",m.getIat100Duration());}
        if(m.getIat105Duration()!=null){ doc.put("iat105Dur",m.getIat105Duration());}
        if(m.getIat110Duration()!=null){ doc.put("iat110Dur",m.getIat110Duration());}
        if(m.getIat115Duration()!=null){ doc.put("iat115Dur",m.getIat115Duration());}
        if(m.getIat120Duration()!=null){ doc.put("iat120Dur",m.getIat120Duration());}
        if(m.getIat125Duration()!=null){ doc.put("iat125Dur",m.getIat125Duration());}
        if(m.getIat130Duration()!=null){ doc.put("iat130Dur",m.getIat130Duration());}
        if(m.getIat135Duration()!=null){ doc.put("iat135Dur",m.getIat135Duration());}
        if(m.getIat140Duration()!=null){ doc.put("iat140Dur",m.getIat140Duration());}
        if(m.getIat145Duration()!=null){ doc.put("iat145Dur",m.getIat145Duration());}
        if(m.getIat150Duration()!=null){ doc.put("iat150Dur",m.getIat150Duration());}
        if(m.getIatOver150Duration()!=null){ doc.put("iatO150Dur",m.getIatOver150Duration());}
        if(m.getIatSum()!=null){ doc.put("iatSum",m.getIatSum());}
        if(m.getIatCount()!=null){ doc.put("iatCount",m.getIatCount());}
        if(m.getMaxIat()!=null){ doc.put("maxIat",m.getMaxIat());}
        if(m.getMinIat()!=null){ doc.put("minIat",m.getMinIat());}
        if(m.getIp50Duration()!=null){ doc.put("ip50Dur",m.getIp50Duration());}
        if(m.getIp60Duration()!=null){ doc.put("ip60Dur",m.getIp60Duration());}
        if(m.getIp70Duration()!=null){ doc.put("ip70Dur",m.getIp70Duration());}
        if(m.getIp80Duration()!=null){ doc.put("ip80Dur",m.getIp80Duration());}
        if(m.getIp90Duration()!=null){ doc.put("ip90Dur",m.getIp90Duration());}
        if(m.getIp100Duration()!=null){ doc.put("ip100Dur",m.getIp100Duration());}
        if(m.getIp110Duration()!=null){ doc.put("ip110Dur",m.getIp110Duration());}
        if(m.getIp120Duration()!=null){ doc.put("ip120Dur",m.getIp120Duration());}
        if(m.getIp130Duration()!=null){ doc.put("ip130Dur",m.getIp130Duration());}
        if(m.getIp140Duration()!=null){ doc.put("ip140Dur",m.getIp140Duration());}
        if(m.getIp150Duration()!=null){ doc.put("ip150Dur",m.getIp150Duration());}
        if(m.getIpOver150Duration()!=null){ doc.put("ipO150Dur",m.getIpOver150Duration());}
        if(m.getIpSum()!=null){ doc.put("ipSum",m.getIpSum());}
        if(m.getIpCount()!=null){ doc.put("ipCount",m.getIpCount());}
        if(m.getMaxIp()!=null){ doc.put("maxIp",m.getMaxIp());}
        if(m.getMinIp()!=null){ doc.put("minIp",m.getMinIp());}
        if(m.getCrossCities()!=null){ doc.put("crossCities",m.getCrossCities());}
        if(m.getSo90Number()!=null){ doc.put("so90Num",m.getSo90Number());}
        if(m.getSo90Duration()!=null){ doc.put("so90Dur",m.getSo90Duration());}
        if(m.getSo90Mileage()!=null){ doc.put("so90Mil",m.getSo90Mileage());}
        if(m.getSo120Number()!=null){ doc.put("so120Num",m.getSo120Number());}
        if(m.getSo120Duration()!=null){ doc.put("so120Dur",m.getSo120Duration());}
        if(m.getSo120Mileage()!=null){ doc.put("so120Mil",m.getSo120Mileage());}
        if(m.getSrNumber()!=null){ doc.put("srNum",m.getSrNumber());}
        if(m.getSrDuration()!=null){ doc.put("srDur",m.getSrDuration());}
        if(m.getSrMileage()!=null){ doc.put("srMil",m.getSrMileage());}
        if(m.getSrFuel()!=null){ doc.put("srFue",m.getSrFuel());}
        if(m.getLrogNumber()!=null){ doc.put("lrogNum",m.getLrogNumber());}
        if(m.getLrogDuration()!=null){ doc.put("lrogDur",m.getLrogDuration());}
        if(m.getLrogMileage()!=null){ doc.put("lrogMil",m.getLrogMileage());}
        if(m.getLrogFuel()!=null){ doc.put("lrogFue",m.getLrogFuel());}
        if(m.getHsbNumber()!=null){ doc.put("hsbNum",m.getHsbNumber());}
        if(m.getHsbDuration()!=null){ doc.put("hsbDur",m.getHsbDuration());}
        if(m.getHsbMileage()!=null){ doc.put("hsbMil",m.getHsbMileage());}
        if(m.getCsbNumber()!=null){ doc.put("csbNum",m.getCsbNumber());}
        if(m.getCsbDuration()!=null){ doc.put("csbDur",m.getCsbDuration());}
        if(m.getCsbMileage()!=null){ doc.put("csbMil",m.getCsbMileage());}
        if(m.getClutchNumber()!=null){ doc.put("clutchNum",m.getClutchNumber());}
        if(m.getClutchDuration()!=null){ doc.put("clutchDur",m.getClutchDuration());}
        if(m.getClutchMileage()!=null){ doc.put("clutchMil",m.getClutchMileage());}
        if(m.getSharpTurningNumber()!=null){ doc.put("shartTNum",m.getSharpTurningNumber());}
        if(m.getSharpTurningMil()!=null){ doc.put("shartTMil",m.getSharpTurningMil());}
        if(m.getSo90Fuel()!=null){ doc.put("so90Fue",m.getSo90Fuel());}
        if(m.getSo120Fuel()!=null){ doc.put("so120Fue",m.getSo120Fuel());}
        if(m.getFatigueDrivingDuration()!=null){ doc.put("fatigueDur",m.getFatigueDrivingDuration());}
        if(m.getPreciseFlag()!=null){ doc.put("pcsFlag",m.getPreciseFlag());}
        if(m.getWloadType()!=null){ doc.put("wlType",m.getWloadType());}
//          List<InterCrossCity> ccDetail -->
        /*--end_schema*/
        putRangeData(doc, m.getAltitudeRanges(), "altitudeRanges");
        putRangeData(doc, m.getClockRanges(), "clockRanges");
        doc.put("day", m.getDay());
        doc.put("ccDetail", StatisticDataParquetConvert.toJsonStr(m.getCrossCitiesDetail()));

        //东风新增字段
        if(m.getFuel100KM()!=null){ doc.put("fuel100KM", m.getFuel100KM());}
        if(m.getAvgSpeedNoidle()!=null){ doc.put("avgSpeedNoidle", m.getAvgSpeedNoidle());}
        if(m.getAvgSpeed()!=null){ doc.put("avgSpeed", m.getAvgSpeed());}
        if(m.getEcoProportion()!=null){ doc.put("ecoProportion", m.getEcoProportion());}
        if(m.getBrakeTimes()!=null){ doc.put("brakeTimes", m.getBrakeTimes());}
        //东风新增，急加速
        if(m.getSharpUpSpeed1Mileage()!=null){ doc.put("sharpUs1Mil",m.getSharpUpSpeed1Mileage());}
        if(m.getSharpUpSpeed1Fuel()!=null){ doc.put("sharpUs1Fue",m.getSharpUpSpeed1Fuel());}
        if(m.getSharpUpSpeed1Duration()!=null){ doc.put("sharpUs1Dur",m.getSharpUpSpeed1Duration());}
        if(m.getSharpUpSpeed1Number()!=null){ doc.put("sharpUs1Num",m.getSharpUpSpeed1Number());}
        //东风新增，急减速
        if(m.getSharpDownSpeed1Mileage()!=null){ doc.put("sharpDs1Mil",m.getSharpDownSpeed1Mileage());}
        if(m.getSharpDownSpeed1Fuel()!=null){ doc.put("sharpDs1Fue",m.getSharpDownSpeed1Fuel());}
        if(m.getSharpDownSpeed1Duration()!=null){ doc.put("sharpDs1Dur",m.getSharpDownSpeed1Duration());}
        if(m.getSharpDownSpeed1Number()!=null){ doc.put("sharpDs1Num",m.getSharpDownSpeed1Number());}
        //东风新增，急转弯
        if(m.getSharpTurning1Number()!=null){ doc.put("sharpT1Num",m.getSharpTurning1Number());}
        //东风新增，超长怠速
        if(m.getLongIdleFuel()!=null){ doc.put("longIdleFue",m.getLongIdleFuel());}
        if(m.getLongIdleDuration()!=null){ doc.put("longIdleDur",m.getLongIdleDuration());}
        if(m.getLongIdleNumber()!=null){ doc.put("longIdleNum",m.getLongIdleNumber());}
        //东风新增，冷车运行
        if(m.getColdRunningMileage()!=null){ doc.put("coldRunMil",m.getColdRunningMileage());}
        if(m.getColdRunningFuel()!=null){ doc.put("coldRunFue",m.getColdRunningFuel());}
        if(m.getColdRunningDuration()!=null){ doc.put("coldRunDur",m.getColdRunningDuration());}
        if(m.getColdRunningNumber()!=null){ doc.put("coldRunNum",m.getColdRunningNumber());}
        //东风新增，夜晚开车
        if(m.getNightRunningMileage()!=null){ doc.put("nightRunMil",m.getNightRunningMileage());}
        if(m.getNightRunningFuel()!=null){ doc.put("nightRunFue",m.getNightRunningFuel());}
        if(m.getNightRunningDuration()!=null){ doc.put("nightRunDur",m.getNightRunningDuration());}
        if(m.getNightRunningNumber()!=null){ doc.put("nightRunNum",m.getNightRunningNumber());}
        //东风新增，引擎高转速
        if(m.getHighRotationMileage()!=null){ doc.put("hrMil",m.getHighRotationMileage());}
        if(m.getHighRotationFuel()!=null){ doc.put("hrFue",m.getHighRotationFuel());}
        if(m.getHighRotationDuration()!=null){ doc.put("hrDur",m.getHighRotationDuration());}
        if(m.getHighRotationNumber()!=null){ doc.put("hrNum",m.getHighRotationNumber());}
        //东风新增，大油门
        if(m.getLargeGasMileage()!=null){ doc.put("lGasMil",m.getLargeGasMileage());}
        if(m.getLargeGasFuel()!=null){ doc.put("lGasFue",m.getLargeGasFuel());}
        if(m.getLargeGasDuration()!=null){ doc.put("lGasDur",m.getLargeGasDuration());}
        if(m.getLargeGasNumber()!=null){ doc.put("lGasNum",m.getLargeGasNumber());}
        //东风新增，全油门
        if(m.getFullGasMileage()!=null){ doc.put("fGasMil",m.getFullGasMileage());}
        if(m.getFullGasFuel()!=null){ doc.put("fGasFue",m.getFullGasFuel());}
        if(m.getFullGasDuration()!=null){ doc.put("fGasDur",m.getFullGasDuration());}
        if(m.getFullGasNumber()!=null){ doc.put("fGasNum",m.getFullGasNumber());}
        //东风新增，高速行驶
        if(m.getFastSpeedMileage()!=null){ doc.put("fSpeedMil",m.getFastSpeedMileage());}
        if(m.getFastSpeedFuel()!=null){ doc.put("fSpeedFue",m.getFastSpeedFuel());}
        if(m.getFastSpeedDuration()!=null){ doc.put("fSpeedDur",m.getFastSpeedDuration());}
        if(m.getFastSpeedNumber()!=null){ doc.put("fSpeedNum",m.getFastSpeedNumber());}
        //东风新增，空挡滑行
        if(m.getNeutralGearCoast1Mileage()!=null){ doc.put("neutralGc1Mil",m.getNeutralGearCoast1Mileage());}
        if(m.getNeutralGearCoast1Fuel()!=null){ doc.put("neutralGc1Fue",m.getNeutralGearCoast1Fuel());}
        if(m.getNeutralGearCoast1Duration()!=null){ doc.put("neutralGc1Dur",m.getNeutralGearCoast1Duration());}
        if(m.getNeutralGearCoast1Number()!=null){ doc.put("neutralGc1Num",m.getNeutralGearCoast1Number());}
        //东风新增，熄火滑行
        if(m.getFlameoutCoastMileage()!=null){ doc.put("fCoastMil",m.getFlameoutCoastMileage());}
        if(m.getFlameoutCoastFuel()!=null){ doc.put("fCoastFue",m.getFlameoutCoastFuel());}
        if(m.getFlameoutCoastDuration()!=null){ doc.put("fCoastDur",m.getFlameoutCoastDuration());}
        if(m.getFlameoutCoastNumber()!=null){ doc.put("fCoastNum",m.getFlameoutCoastNumber());}
        //东风新增，载重
        if(m.getAmtLoad()!=null){ doc.put("amtLoad",m.getAmtLoad());}
        if(m.getVecuLoad()!=null){ doc.put("vecuLoad",m.getVecuLoad());}
        if(m.getLoadType()!=null){ doc.put("loadType",m.getLoadType());}


        return doc;
    }

    private static void putRangeData(Document doc, Map<Integer, InterRangeData> ranges, String name) {
        if(ranges!=null){
            doc.put(name,Document.parse(StatisticDataParquetConvert.toJsonStr(ranges)));
        }
    }

    /**
     * Document对象转为Pojo对象
     * @param doc
     * @return
     */
    public static OuterStatisticData toObj(Document doc) {
        OuterStatisticData m = new OuterStatisticData();
        /*--start_row*/
        if(doc.containsKey("uid")){ m.setUid(doc.getLong("uid"));}
        if(doc.containsKey("tid")){ m.setTid(doc.getLong("tid"));}
        if(doc.containsKey("tripId")){ m.setTripId(doc.getInteger("tripId"));}
        if(doc.containsKey("routeSTime")){ m.setRouteStartTime(doc.getLong("routeSTime"));}
        if(doc.containsKey("routeSLc")){ m.setRouteStartLc(doc.getInteger("routeSLc"));}
        if(doc.containsKey("routeSLatitude")){ m.setRouteStartLatitude(doc.getInteger("routeSLatitude"));}
        if(doc.containsKey("routeSLongitude")){ m.setRouteStartLongitude(doc.getInteger("routeSLongitude"));}
        if(doc.containsKey("routeSHeight")){ m.setRouteStartHeight(doc.getInteger("routeSHeight"));}
        if(doc.containsKey("routeSDir")){ m.setRouteStartDirection(doc.getInteger("routeSDir"));}
        if(doc.containsKey("routeSMil")){ m.setRouteStartMileage(doc.getInteger("routeSMil"));}
        if(doc.containsKey("routeSFue")){ m.setRouteStartFuel(doc.getInteger("routeSFue"));}
        if(doc.containsKey("routeETime")){ m.setRouteEndTime(doc.getLong("routeETime"));}
        if(doc.containsKey("routeELc")){ m.setRouteEndLc(doc.getInteger("routeELc"));}
        if(doc.containsKey("routeELatitude")){ m.setRouteEndLatitude(doc.getInteger("routeELatitude"));}
        if(doc.containsKey("routeELongitude")){ m.setRouteEndLongitude(doc.getInteger("routeELongitude"));}
        if(doc.containsKey("routeEHeight")){ m.setRouteEndHeight(doc.getInteger("routeEHeight"));}
        if(doc.containsKey("routeEDir")){ m.setRouteEndDirection(doc.getInteger("routeEDir"));}
        if(doc.containsKey("routeEMil")){ m.setRouteEndMileage(doc.getInteger("routeEMil"));}
        if(doc.containsKey("routeEFue")){ m.setRouteEndFuel(doc.getInteger("routeEFue"));}
        if(doc.containsKey("routeIMil")){ m.setRouteIntegralMileage(doc.getInteger("routeIMil"));}
        if(doc.containsKey("routeIFue")){ m.setRouteIntegralFuel(doc.getInteger("routeIFue"));}
        if(doc.containsKey("tripPower")){ m.setTripPower(doc.getInteger("tripPower"));}
        if(doc.containsKey("stype")){ m.setStype(doc.getInteger("stype"));}
        if(doc.containsKey("tripMil")){ m.setTripMileage(doc.getInteger("tripMil"));}
        if(doc.containsKey("tripFue")){ m.setTripFuel(doc.getInteger("tripFue"));}
        if(doc.containsKey("tripDur")){ m.setTripDuration(doc.getInteger("tripDur"));}
        if(doc.containsKey("routeSFlag")){ m.setRouteStopFlag(doc.getInteger("routeSFlag"));}
        if(doc.containsKey("crossDFlag")){ m.setCrossDayFlag(doc.getInteger("crossDFlag"));}
        if(doc.containsKey("forceEFlag")){ m.setForceEndFlag(doc.getInteger("forceEFlag"));}
        if(doc.containsKey("maxSpeed")){ m.setMaxSpeed(doc.getInteger("maxSpeed"));}
        if(doc.containsKey("minSpeed")){ m.setMinSpeed(doc.getInteger("minSpeed"));}
        if(doc.containsKey("maxUSpeed")){ m.setMaxUsefulSpeed(doc.getInteger("maxUSpeed"));}
        if(doc.containsKey("minUSpeed")){ m.setMinUsefulSpeed(doc.getInteger("minUSpeed"));}
        if(doc.containsKey("inGcMil")){ m.setInGearCoastMileage(doc.getInteger("inGcMil"));}
        if(doc.containsKey("inGcDur")){ m.setInGearCoastDuration(doc.getInteger("inGcDur"));}
        if(doc.containsKey("inGcNum")){ m.setInGearCoastNumber(doc.getInteger("inGcNum"));}
        if(doc.containsKey("brakeNum")){ m.setBrakeNumber(doc.getInteger("brakeNum"));}
        if(doc.containsKey("brakeMil")){ m.setBrakeMileage(doc.getInteger("brakeMil"));}
        if(doc.containsKey("brakeDur")){ m.setBrakeDuration(doc.getInteger("brakeDur"));}
        if(doc.containsKey("vehicleELoad")){ m.setVehicleEstimatedLoad(doc.getInteger("vehicleELoad"));}
        if(doc.containsKey("neutralGcDur")){ m.setNeutralGearCoastDuration(doc.getInteger("neutralGcDur"));}
        if(doc.containsKey("neutralGcFue")){ m.setNeutralGearCoastFuel(doc.getInteger("neutralGcFue"));}
        if(doc.containsKey("neutralGcMil")){ m.setNeutralGearCoastMileage(doc.getInteger("neutralGcMil"));}
        if(doc.containsKey("neutralGcNum")){ m.setNeutralGearCoastNumber(doc.getInteger("neutralGcNum"));}
        if(doc.containsKey("idleFue")){ m.setIdleFuel(doc.getInteger("idleFue"));}
        if(doc.containsKey("idleDur")){ m.setIdleDuration(doc.getInteger("idleDur"));}
        if(doc.containsKey("idleNum")){ m.setIdleNumber(doc.getInteger("idleNum"));}
        if(doc.containsKey("parkingPoDur")){ m.setParkingPowerOnDuration(doc.getInteger("parkingPoDur"));}
        if(doc.containsKey("cityDMil")){ m.setCityDrivingMileage(doc.getInteger("cityDMil"));}
        if(doc.containsKey("cityDDur")){ m.setCityDrivingDuration(doc.getInteger("cityDDur"));}
        if(doc.containsKey("cityDFue")){ m.setCityDrivingFuel(doc.getInteger("cityDFue"));}
        if(doc.containsKey("ruralDMil")){ m.setRuralDrivingMileage(doc.getInteger("ruralDMil"));}
        if(doc.containsKey("ruralDDur")){ m.setRuralDrivingDuration(doc.getInteger("ruralDDur"));}
        if(doc.containsKey("ruralDFue")){ m.setRuralDrivingFuel(doc.getInteger("ruralDFue"));}
        if(doc.containsKey("ecoDMil")){ m.setEcoDrivingMileage(doc.getInteger("ecoDMil"));}
        if(doc.containsKey("ecoDDur")){ m.setEcoDrivingDuration(doc.getInteger("ecoDDur"));}
        if(doc.containsKey("ecoDFue")){ m.setEcoDrivingFuel(doc.getInteger("ecoDFue"));}
        if(doc.containsKey("upSdMil")){ m.setUpSlopeDrivingMileage(doc.getInteger("upSdMil"));}
        if(doc.containsKey("upSdDur")){ m.setUpSlopeDrivingDuration(doc.getInteger("upSdDur"));}
        if(doc.containsKey("upSdFue")){ m.setUpSlopeDrivingFuel(doc.getInteger("upSdFue"));}
        if(doc.containsKey("downSdMil")){ m.setDownSlopeDrivingMileage(doc.getInteger("downSdMil"));}
        if(doc.containsKey("downSdDur")){ m.setDownSlopeDrivingDuration(doc.getInteger("downSdDur"));}
        if(doc.containsKey("downSdFue")){ m.setDownSlopeDrivingFuel(doc.getInteger("downSdFue"));}
        if(doc.containsKey("levelRdMil")){ m.setLevelRoadDrivingMileage(doc.getInteger("levelRdMil"));}
        if(doc.containsKey("levelRdDur")){ m.setLevelRoadDrivingDuration(doc.getInteger("levelRdDur"));}
        if(doc.containsKey("levelRdFue")){ m.setLevelRoadDrivingFuel(doc.getInteger("levelRdFue"));}
        if(doc.containsKey("cruiseMil")){ m.setCruiseMileage(doc.getInteger("cruiseMil"));}
        if(doc.containsKey("cruiseDur")){ m.setCruiseDuration(doc.getInteger("cruiseDur"));}
        if(doc.containsKey("cruiseFue")){ m.setCruiseFuel(doc.getInteger("cruiseFue"));}
        if(doc.containsKey("shiftGNum")){ m.setShiftGearsNumber(doc.getInteger("shiftGNum"));}
        if(doc.containsKey("sharpDsDur")){ m.setSharpDownSpeedDuration(doc.getInteger("sharpDsDur"));}
        if(doc.containsKey("sharpDsMil")){ m.setSharpDownSpeedMileage(doc.getInteger("sharpDsMil"));}
        if(doc.containsKey("sharpDsNum")){ m.setSharpDownSpeedNumber(doc.getInteger("sharpDsNum"));}
        if(doc.containsKey("sharpUsDur")){ m.setSharpUpSpeedDuration(doc.getInteger("sharpUsDur"));}
        if(doc.containsKey("sharpUsMil")){ m.setSharpUpSpeedMileage(doc.getInteger("sharpUsMil"));}
        if(doc.containsKey("sharpUsNum")){ m.setSharpUpSpeedNumber(doc.getInteger("sharpUsNum"));}
        if(doc.containsKey("sharpUsFue")){ m.setSharpUpSpeedFuel(doc.getInteger("sharpUsFue"));}
        if(doc.containsKey("sharpSogMil")){ m.setSharpStepOnGasMileage(doc.getInteger("sharpSogMil"));}
        if(doc.containsKey("sharpSogDur")){ m.setSharpStepOnGasDuration(doc.getInteger("sharpSogDur"));}
        if(doc.containsKey("sharpSogFue")){ m.setSharpStepOnGasFuel(doc.getInteger("sharpSogFue"));}
        if(doc.containsKey("sharpSogNum")){ m.setSharpStepOnGasNumber(doc.getInteger("sharpSogNum"));}
        if(doc.containsKey("vehiclePNum")){ m.setVehicleParkNumber(doc.getInteger("vehiclePNum"));}
        if(doc.containsKey("vehicleSNum")){ m.setVehicleStartNumber(doc.getInteger("vehicleSNum"));}
        if(doc.containsKey("vehicleSMil")){ m.setVehicleStartMileage(doc.getInteger("vehicleSMil"));}
        if(doc.containsKey("vehicleSDur")){ m.setVehicleStartDuration(doc.getInteger("vehicleSDur"));}
        if(doc.containsKey("vehicleSFue")){ m.setVehicleStartFuel(doc.getInteger("vehicleSFue"));}
        if(doc.containsKey("vehicleCsNum")){ m.setVehicleColdStartNumber(doc.getInteger("vehicleCsNum"));}
        if(doc.containsKey("vehicleCsMil")){ m.setVehicleColdStartMileage(doc.getInteger("vehicleCsMil"));}
        if(doc.containsKey("vehicleCsDur")){ m.setVehicleColdStartDuration(doc.getInteger("vehicleCsDur"));}
        if(doc.containsKey("vehicleCsFue")){ m.setVehicleColdStartFuel(doc.getInteger("vehicleCsFue"));}
        if(doc.containsKey("chargeFPercent")){ m.setChargeFuelPercent(doc.getInteger("chargeFPercent"));}
        if(doc.containsKey("chargeFue")){ m.setChargeFuel(doc.getInteger("chargeFue"));}
        if(doc.containsKey("leakFPercent")){ m.setLeakFuelPercent(doc.getInteger("leakFPercent"));}
        if(doc.containsKey("leakFue")){ m.setLeakFuel(doc.getInteger("leakFue"));}
        if(doc.containsKey("gasSNum")){ m.setGasStabilityNumber(doc.getInteger("gasSNum"));}
        if(doc.containsKey("gasSDur")){ m.setGasStabilityDuration(doc.getInteger("gasSDur"));}
        if(doc.containsKey("gasOpSum")){ m.setGasOpenPercentSum(doc.getLong("gasOpSum"));}
        if(doc.containsKey("gasOpCount")){ m.setGasOpenPercentCount(doc.getInteger("gasOpCount"));}
        if(doc.containsKey("speedR01Mil")){ m.setSpeedRange01Mileage(doc.getInteger("speedR01Mil"));}
        if(doc.containsKey("speedR01Dur")){ m.setSpeedRange01Duration(doc.getInteger("speedR01Dur"));}
        if(doc.containsKey("speedR01Fue")){ m.setSpeedRange01Fuel(doc.getInteger("speedR01Fue"));}
        if(doc.containsKey("speedR02Mil")){ m.setSpeedRange02Mileage(doc.getInteger("speedR02Mil"));}
        if(doc.containsKey("speedR02Dur")){ m.setSpeedRange02Duration(doc.getInteger("speedR02Dur"));}
        if(doc.containsKey("speedR02Fue")){ m.setSpeedRange02Fuel(doc.getInteger("speedR02Fue"));}
        if(doc.containsKey("speedR03Mil")){ m.setSpeedRange03Mileage(doc.getInteger("speedR03Mil"));}
        if(doc.containsKey("speedR03Dur")){ m.setSpeedRange03Duration(doc.getInteger("speedR03Dur"));}
        if(doc.containsKey("speedR03Fue")){ m.setSpeedRange03Fuel(doc.getInteger("speedR03Fue"));}
        if(doc.containsKey("speedR04Mil")){ m.setSpeedRange04Mileage(doc.getInteger("speedR04Mil"));}
        if(doc.containsKey("speedR04Dur")){ m.setSpeedRange04Duration(doc.getInteger("speedR04Dur"));}
        if(doc.containsKey("speedR04Fue")){ m.setSpeedRange04Fuel(doc.getInteger("speedR04Fue"));}
        if(doc.containsKey("speedR05Mil")){ m.setSpeedRange05Mileage(doc.getInteger("speedR05Mil"));}
        if(doc.containsKey("speedR05Dur")){ m.setSpeedRange05Duration(doc.getInteger("speedR05Dur"));}
        if(doc.containsKey("speedR05Fue")){ m.setSpeedRange05Fuel(doc.getInteger("speedR05Fue"));}
        if(doc.containsKey("speedR06Mil")){ m.setSpeedRange06Mileage(doc.getInteger("speedR06Mil"));}
        if(doc.containsKey("speedR06Dur")){ m.setSpeedRange06Duration(doc.getInteger("speedR06Dur"));}
        if(doc.containsKey("speedR06Fue")){ m.setSpeedRange06Fuel(doc.getInteger("speedR06Fue"));}
        if(doc.containsKey("speedR07Mil")){ m.setSpeedRange07Mileage(doc.getInteger("speedR07Mil"));}
        if(doc.containsKey("speedR07Dur")){ m.setSpeedRange07Duration(doc.getInteger("speedR07Dur"));}
        if(doc.containsKey("speedR07Fue")){ m.setSpeedRange07Fuel(doc.getInteger("speedR07Fue"));}
        if(doc.containsKey("speedR08Mil")){ m.setSpeedRange08Mileage(doc.getInteger("speedR08Mil"));}
        if(doc.containsKey("speedR08Dur")){ m.setSpeedRange08Duration(doc.getInteger("speedR08Dur"));}
        if(doc.containsKey("speedR08Fue")){ m.setSpeedRange08Fuel(doc.getInteger("speedR08Fue"));}
        if(doc.containsKey("speedR09Mil")){ m.setSpeedRange09Mileage(doc.getInteger("speedR09Mil"));}
        if(doc.containsKey("speedR09Dur")){ m.setSpeedRange09Duration(doc.getInteger("speedR09Dur"));}
        if(doc.containsKey("speedR09Fue")){ m.setSpeedRange09Fuel(doc.getInteger("speedR09Fue"));}
        if(doc.containsKey("speedR10Mil")){ m.setSpeedRange10Mileage(doc.getInteger("speedR10Mil"));}
        if(doc.containsKey("speedR10Dur")){ m.setSpeedRange10Duration(doc.getInteger("speedR10Dur"));}
        if(doc.containsKey("speedR10Fue")){ m.setSpeedRange10Fuel(doc.getInteger("speedR10Fue"));}
        if(doc.containsKey("speedR11Mil")){ m.setSpeedRange11Mileage(doc.getInteger("speedR11Mil"));}
        if(doc.containsKey("speedR11Dur")){ m.setSpeedRange11Duration(doc.getInteger("speedR11Dur"));}
        if(doc.containsKey("speedR11Fue")){ m.setSpeedRange11Fuel(doc.getInteger("speedR11Fue"));}
        if(doc.containsKey("speedR12Mil")){ m.setSpeedRange12Mileage(doc.getInteger("speedR12Mil"));}
        if(doc.containsKey("speedR12Dur")){ m.setSpeedRange12Duration(doc.getInteger("speedR12Dur"));}
        if(doc.containsKey("speedR12Fue")){ m.setSpeedRange12Fuel(doc.getInteger("speedR12Fue"));}
        if(doc.containsKey("exceedSrMil")){ m.setExceedSpeedRangeMileage(doc.getInteger("exceedSrMil"));}
        if(doc.containsKey("exceedSrDur")){ m.setExceedSpeedRangeDuration(doc.getInteger("exceedSrDur"));}
        if(doc.containsKey("exceedSrFue")){ m.setExceedSpeedRangeFuel(doc.getInteger("exceedSrFue"));}
        if(doc.containsKey("assistBMil")){ m.setAssistBrakeMileage(doc.getInteger("assistBMil"));}
        if(doc.containsKey("assistBDur")){ m.setAssistBrakeDuration(doc.getInteger("assistBDur"));}
        if(doc.containsKey("fatigueDNum")){ m.setFatigueDrivingNumber(doc.getInteger("fatigueDNum"));}
        if(doc.containsKey("parkTDur")){ m.setParkThrottleDuration(doc.getInteger("parkTDur"));}
        if(doc.containsKey("parkTFue")){ m.setParkThrottleFuel(doc.getInteger("parkTFue"));}
        if(doc.containsKey("engineWDur")){ m.setEngineWorkDuration(doc.getInteger("engineWDur"));}
        if(doc.containsKey("drivingHNum")){ m.setDrivingHandbrakeNumber(doc.getInteger("drivingHNum"));}
        if(doc.containsKey("drivingHDur")){ m.setDrivingHandbrakeDuration(doc.getInteger("drivingHDur"));}
        if(doc.containsKey("drivingHMil")){ m.setDrivingHandbrakeMileage(doc.getInteger("drivingHMil"));}
        if(doc.containsKey("idleHNum")){ m.setIdleHandbrakeNumber(doc.getInteger("idleHNum"));}
        if(doc.containsKey("idleHDur")){ m.setIdleHandbrakeDuration(doc.getInteger("idleHDur"));}
        if(doc.containsKey("gear01Mil")){ m.setGear01Mileage(doc.getInteger("gear01Mil"));}
        if(doc.containsKey("gear01Fue")){ m.setGear01Fuel(doc.getInteger("gear01Fue"));}
        if(doc.containsKey("gear01Dur")){ m.setGear01Duration(doc.getInteger("gear01Dur"));}
        if(doc.containsKey("gear01Num")){ m.setGear01Number(doc.getInteger("gear01Num"));}
        if(doc.containsKey("gear02Mil")){ m.setGear02Mileage(doc.getInteger("gear02Mil"));}
        if(doc.containsKey("gear02Fue")){ m.setGear02Fuel(doc.getInteger("gear02Fue"));}
        if(doc.containsKey("gear02Dur")){ m.setGear02Duration(doc.getInteger("gear02Dur"));}
        if(doc.containsKey("gear02Num")){ m.setGear02Number(doc.getInteger("gear02Num"));}
        if(doc.containsKey("gear03Mil")){ m.setGear03Mileage(doc.getInteger("gear03Mil"));}
        if(doc.containsKey("gear03Fue")){ m.setGear03Fuel(doc.getInteger("gear03Fue"));}
        if(doc.containsKey("gear03Dur")){ m.setGear03Duration(doc.getInteger("gear03Dur"));}
        if(doc.containsKey("gear03Num")){ m.setGear03Number(doc.getInteger("gear03Num"));}
        if(doc.containsKey("gear04Mil")){ m.setGear04Mileage(doc.getInteger("gear04Mil"));}
        if(doc.containsKey("gear04Fue")){ m.setGear04Fuel(doc.getInteger("gear04Fue"));}
        if(doc.containsKey("gear04Dur")){ m.setGear04Duration(doc.getInteger("gear04Dur"));}
        if(doc.containsKey("gear04Num")){ m.setGear04Number(doc.getInteger("gear04Num"));}
        if(doc.containsKey("gear05Mil")){ m.setGear05Mileage(doc.getInteger("gear05Mil"));}
        if(doc.containsKey("gear05Fue")){ m.setGear05Fuel(doc.getInteger("gear05Fue"));}
        if(doc.containsKey("gear05Dur")){ m.setGear05Duration(doc.getInteger("gear05Dur"));}
        if(doc.containsKey("gear05Num")){ m.setGear05Number(doc.getInteger("gear05Num"));}
        if(doc.containsKey("gear06Mil")){ m.setGear06Mileage(doc.getInteger("gear06Mil"));}
        if(doc.containsKey("gear06Fue")){ m.setGear06Fuel(doc.getInteger("gear06Fue"));}
        if(doc.containsKey("gear06Dur")){ m.setGear06Duration(doc.getInteger("gear06Dur"));}
        if(doc.containsKey("gear06Num")){ m.setGear06Number(doc.getInteger("gear06Num"));}
        if(doc.containsKey("gear07Mil")){ m.setGear07Mileage(doc.getInteger("gear07Mil"));}
        if(doc.containsKey("gear07Fue")){ m.setGear07Fuel(doc.getInteger("gear07Fue"));}
        if(doc.containsKey("gear07Dur")){ m.setGear07Duration(doc.getInteger("gear07Dur"));}
        if(doc.containsKey("gear07Num")){ m.setGear07Number(doc.getInteger("gear07Num"));}
        if(doc.containsKey("gear08Mil")){ m.setGear08Mileage(doc.getInteger("gear08Mil"));}
        if(doc.containsKey("gear08Fue")){ m.setGear08Fuel(doc.getInteger("gear08Fue"));}
        if(doc.containsKey("gear08Dur")){ m.setGear08Duration(doc.getInteger("gear08Dur"));}
        if(doc.containsKey("gear08Num")){ m.setGear08Number(doc.getInteger("gear08Num"));}
        if(doc.containsKey("gear09Mil")){ m.setGear09Mileage(doc.getInteger("gear09Mil"));}
        if(doc.containsKey("gear09Fue")){ m.setGear09Fuel(doc.getInteger("gear09Fue"));}
        if(doc.containsKey("gear09Dur")){ m.setGear09Duration(doc.getInteger("gear09Dur"));}
        if(doc.containsKey("gear09Num")){ m.setGear09Number(doc.getInteger("gear09Num"));}
        if(doc.containsKey("gear10Mil")){ m.setGear10Mileage(doc.getInteger("gear10Mil"));}
        if(doc.containsKey("gear10Fue")){ m.setGear10Fuel(doc.getInteger("gear10Fue"));}
        if(doc.containsKey("gear10Dur")){ m.setGear10Duration(doc.getInteger("gear10Dur"));}
        if(doc.containsKey("gear10Num")){ m.setGear10Number(doc.getInteger("gear10Num"));}
        if(doc.containsKey("gear11Mil")){ m.setGear11Mileage(doc.getInteger("gear11Mil"));}
        if(doc.containsKey("gear11Fue")){ m.setGear11Fuel(doc.getInteger("gear11Fue"));}
        if(doc.containsKey("gear11Dur")){ m.setGear11Duration(doc.getInteger("gear11Dur"));}
        if(doc.containsKey("gear11Num")){ m.setGear11Number(doc.getInteger("gear11Num"));}
        if(doc.containsKey("gear12Mil")){ m.setGear12Mileage(doc.getInteger("gear12Mil"));}
        if(doc.containsKey("gear12Fue")){ m.setGear12Fuel(doc.getInteger("gear12Fue"));}
        if(doc.containsKey("gear12Dur")){ m.setGear12Duration(doc.getInteger("gear12Dur"));}
        if(doc.containsKey("gear12Num")){ m.setGear12Number(doc.getInteger("gear12Num"));}
        if(doc.containsKey("gear13Mil")){ m.setGear13Mileage(doc.getInteger("gear13Mil"));}
        if(doc.containsKey("gear13Fue")){ m.setGear13Fuel(doc.getInteger("gear13Fue"));}
        if(doc.containsKey("gear13Dur")){ m.setGear13Duration(doc.getInteger("gear13Dur"));}
        if(doc.containsKey("gear13Num")){ m.setGear13Number(doc.getInteger("gear13Num"));}
        if(doc.containsKey("gear14Mil")){ m.setGear14Mileage(doc.getInteger("gear14Mil"));}
        if(doc.containsKey("gear14Fue")){ m.setGear14Fuel(doc.getInteger("gear14Fue"));}
        if(doc.containsKey("gear14Dur")){ m.setGear14Duration(doc.getInteger("gear14Dur"));}
        if(doc.containsKey("gear14Num")){ m.setGear14Number(doc.getInteger("gear14Num"));}
        if(doc.containsKey("gear15Mil")){ m.setGear15Mileage(doc.getInteger("gear15Mil"));}
        if(doc.containsKey("gear15Fue")){ m.setGear15Fuel(doc.getInteger("gear15Fue"));}
        if(doc.containsKey("gear15Dur")){ m.setGear15Duration(doc.getInteger("gear15Dur"));}
        if(doc.containsKey("gear15Num")){ m.setGear15Number(doc.getInteger("gear15Num"));}
        if(doc.containsKey("gear16Mil")){ m.setGear16Mileage(doc.getInteger("gear16Mil"));}
        if(doc.containsKey("gear16Fue")){ m.setGear16Fuel(doc.getInteger("gear16Fue"));}
        if(doc.containsKey("gear16Dur")){ m.setGear16Duration(doc.getInteger("gear16Dur"));}
        if(doc.containsKey("gear16Num")){ m.setGear16Number(doc.getInteger("gear16Num"));}
        if(doc.containsKey("gearOMil")){ m.setGearOtherMileage(doc.getInteger("gearOMil"));}
        if(doc.containsKey("gearOFue")){ m.setGearOtherFuel(doc.getInteger("gearOFue"));}
        if(doc.containsKey("gearODur")){ m.setGearOtherDuration(doc.getInteger("gearODur"));}
        if(doc.containsKey("gearONum")){ m.setGearOtherNumber(doc.getInteger("gearONum"));}
        if(doc.containsKey("rpmR500Mil")){ m.setRpmRange500Mileage(doc.getInteger("rpmR500Mil"));}
        if(doc.containsKey("rpmR500Fue")){ m.setRpmRange500Fuel(doc.getInteger("rpmR500Fue"));}
        if(doc.containsKey("rpmR500Dur")){ m.setRpmRange500Duration(doc.getInteger("rpmR500Dur"));}
        if(doc.containsKey("rpmR600Mil")){ m.setRpmRange600Mileage(doc.getInteger("rpmR600Mil"));}
        if(doc.containsKey("rpmR600Fue")){ m.setRpmRange600Fuel(doc.getInteger("rpmR600Fue"));}
        if(doc.containsKey("rpmR600Dur")){ m.setRpmRange600Duration(doc.getInteger("rpmR600Dur"));}
        if(doc.containsKey("rpmR700Mil")){ m.setRpmRange700Mileage(doc.getInteger("rpmR700Mil"));}
        if(doc.containsKey("rpmR700Fue")){ m.setRpmRange700Fuel(doc.getInteger("rpmR700Fue"));}
        if(doc.containsKey("rpmR700Dur")){ m.setRpmRange700Duration(doc.getInteger("rpmR700Dur"));}
        if(doc.containsKey("rpmR800Mil")){ m.setRpmRange800Mileage(doc.getInteger("rpmR800Mil"));}
        if(doc.containsKey("rpmR800Fue")){ m.setRpmRange800Fuel(doc.getInteger("rpmR800Fue"));}
        if(doc.containsKey("rpmR800Dur")){ m.setRpmRange800Duration(doc.getInteger("rpmR800Dur"));}
        if(doc.containsKey("rpmR900Mil")){ m.setRpmRange900Mileage(doc.getInteger("rpmR900Mil"));}
        if(doc.containsKey("rpmR900Fue")){ m.setRpmRange900Fuel(doc.getInteger("rpmR900Fue"));}
        if(doc.containsKey("rpmR900Dur")){ m.setRpmRange900Duration(doc.getInteger("rpmR900Dur"));}
        if(doc.containsKey("rpmR1000Mil")){ m.setRpmRange1000Mileage(doc.getInteger("rpmR1000Mil"));}
        if(doc.containsKey("rpmR1000Fue")){ m.setRpmRange1000Fuel(doc.getInteger("rpmR1000Fue"));}
        if(doc.containsKey("rpmR1000Dur")){ m.setRpmRange1000Duration(doc.getInteger("rpmR1000Dur"));}
        if(doc.containsKey("rpmR1100Mil")){ m.setRpmRange1100Mileage(doc.getInteger("rpmR1100Mil"));}
        if(doc.containsKey("rpmR1100Fue")){ m.setRpmRange1100Fuel(doc.getInteger("rpmR1100Fue"));}
        if(doc.containsKey("rpmR1100Dur")){ m.setRpmRange1100Duration(doc.getInteger("rpmR1100Dur"));}
        if(doc.containsKey("rpmR1200Mil")){ m.setRpmRange1200Mileage(doc.getInteger("rpmR1200Mil"));}
        if(doc.containsKey("rpmR1200Fue")){ m.setRpmRange1200Fuel(doc.getInteger("rpmR1200Fue"));}
        if(doc.containsKey("rpmR1200Dur")){ m.setRpmRange1200Duration(doc.getInteger("rpmR1200Dur"));}
        if(doc.containsKey("rpmR1300Mil")){ m.setRpmRange1300Mileage(doc.getInteger("rpmR1300Mil"));}
        if(doc.containsKey("rpmR1300Fue")){ m.setRpmRange1300Fuel(doc.getInteger("rpmR1300Fue"));}
        if(doc.containsKey("rpmR1300Dur")){ m.setRpmRange1300Duration(doc.getInteger("rpmR1300Dur"));}
        if(doc.containsKey("rpmR1400Mil")){ m.setRpmRange1400Mileage(doc.getInteger("rpmR1400Mil"));}
        if(doc.containsKey("rpmR1400Fue")){ m.setRpmRange1400Fuel(doc.getInteger("rpmR1400Fue"));}
        if(doc.containsKey("rpmR1400Dur")){ m.setRpmRange1400Duration(doc.getInteger("rpmR1400Dur"));}
        if(doc.containsKey("rpmR1500Mil")){ m.setRpmRange1500Mileage(doc.getInteger("rpmR1500Mil"));}
        if(doc.containsKey("rpmR1500Fue")){ m.setRpmRange1500Fuel(doc.getInteger("rpmR1500Fue"));}
        if(doc.containsKey("rpmR1500Dur")){ m.setRpmRange1500Duration(doc.getInteger("rpmR1500Dur"));}
        if(doc.containsKey("rpmR1600Mil")){ m.setRpmRange1600Mileage(doc.getInteger("rpmR1600Mil"));}
        if(doc.containsKey("rpmR1600Fue")){ m.setRpmRange1600Fuel(doc.getInteger("rpmR1600Fue"));}
        if(doc.containsKey("rpmR1600Dur")){ m.setRpmRange1600Duration(doc.getInteger("rpmR1600Dur"));}
        if(doc.containsKey("rpmR1700Mil")){ m.setRpmRange1700Mileage(doc.getInteger("rpmR1700Mil"));}
        if(doc.containsKey("rpmR1700Fue")){ m.setRpmRange1700Fuel(doc.getInteger("rpmR1700Fue"));}
        if(doc.containsKey("rpmR1700Dur")){ m.setRpmRange1700Duration(doc.getInteger("rpmR1700Dur"));}
        if(doc.containsKey("rpmR1800Mil")){ m.setRpmRange1800Mileage(doc.getInteger("rpmR1800Mil"));}
        if(doc.containsKey("rpmR1800Fue")){ m.setRpmRange1800Fuel(doc.getInteger("rpmR1800Fue"));}
        if(doc.containsKey("rpmR1800Dur")){ m.setRpmRange1800Duration(doc.getInteger("rpmR1800Dur"));}
        if(doc.containsKey("rpmR1900Mil")){ m.setRpmRange1900Mileage(doc.getInteger("rpmR1900Mil"));}
        if(doc.containsKey("rpmR1900Fue")){ m.setRpmRange1900Fuel(doc.getInteger("rpmR1900Fue"));}
        if(doc.containsKey("rpmR1900Dur")){ m.setRpmRange1900Duration(doc.getInteger("rpmR1900Dur"));}
        if(doc.containsKey("rpmR2000Mil")){ m.setRpmRange2000Mileage(doc.getInteger("rpmR2000Mil"));}
        if(doc.containsKey("rpmR2000Fue")){ m.setRpmRange2000Fuel(doc.getInteger("rpmR2000Fue"));}
        if(doc.containsKey("rpmR2000Dur")){ m.setRpmRange2000Duration(doc.getInteger("rpmR2000Dur"));}
        if(doc.containsKey("rpmR2100Mil")){ m.setRpmRange2100Mileage(doc.getInteger("rpmR2100Mil"));}
        if(doc.containsKey("rpmR2100Fue")){ m.setRpmRange2100Fuel(doc.getInteger("rpmR2100Fue"));}
        if(doc.containsKey("rpmR2100Dur")){ m.setRpmRange2100Duration(doc.getInteger("rpmR2100Dur"));}
        if(doc.containsKey("rpmR2200Mil")){ m.setRpmRange2200Mileage(doc.getInteger("rpmR2200Mil"));}
        if(doc.containsKey("rpmR2200Fue")){ m.setRpmRange2200Fuel(doc.getInteger("rpmR2200Fue"));}
        if(doc.containsKey("rpmR2200Dur")){ m.setRpmRange2200Duration(doc.getInteger("rpmR2200Dur"));}
        if(doc.containsKey("rpmR2300Mil")){ m.setRpmRange2300Mileage(doc.getInteger("rpmR2300Mil"));}
        if(doc.containsKey("rpmR2300Fue")){ m.setRpmRange2300Fuel(doc.getInteger("rpmR2300Fue"));}
        if(doc.containsKey("rpmR2300Dur")){ m.setRpmRange2300Duration(doc.getInteger("rpmR2300Dur"));}
        if(doc.containsKey("rpmR2400Mil")){ m.setRpmRange2400Mileage(doc.getInteger("rpmR2400Mil"));}
        if(doc.containsKey("rpmR2400Fue")){ m.setRpmRange2400Fuel(doc.getInteger("rpmR2400Fue"));}
        if(doc.containsKey("rpmR2400Dur")){ m.setRpmRange2400Duration(doc.getInteger("rpmR2400Dur"));}
        if(doc.containsKey("rpmR2500Mil")){ m.setRpmRange2500Mileage(doc.getInteger("rpmR2500Mil"));}
        if(doc.containsKey("rpmR2500Fue")){ m.setRpmRange2500Fuel(doc.getInteger("rpmR2500Fue"));}
        if(doc.containsKey("rpmR2500Dur")){ m.setRpmRange2500Duration(doc.getInteger("rpmR2500Dur"));}
        if(doc.containsKey("rpmR2600Mil")){ m.setRpmRange2600Mileage(doc.getInteger("rpmR2600Mil"));}
        if(doc.containsKey("rpmR2600Fue")){ m.setRpmRange2600Fuel(doc.getInteger("rpmR2600Fue"));}
        if(doc.containsKey("rpmR2600Dur")){ m.setRpmRange2600Duration(doc.getInteger("rpmR2600Dur"));}
        if(doc.containsKey("rpmR2700Mil")){ m.setRpmRange2700Mileage(doc.getInteger("rpmR2700Mil"));}
        if(doc.containsKey("rpmR2700Fue")){ m.setRpmRange2700Fuel(doc.getInteger("rpmR2700Fue"));}
        if(doc.containsKey("rpmR2700Dur")){ m.setRpmRange2700Duration(doc.getInteger("rpmR2700Dur"));}
        if(doc.containsKey("rpmR2800Mil")){ m.setRpmRange2800Mileage(doc.getInteger("rpmR2800Mil"));}
        if(doc.containsKey("rpmR2800Fue")){ m.setRpmRange2800Fuel(doc.getInteger("rpmR2800Fue"));}
        if(doc.containsKey("rpmR2800Dur")){ m.setRpmRange2800Duration(doc.getInteger("rpmR2800Dur"));}
        if(doc.containsKey("rpmR2900Mil")){ m.setRpmRange2900Mileage(doc.getInteger("rpmR2900Mil"));}
        if(doc.containsKey("rpmR2900Fue")){ m.setRpmRange2900Fuel(doc.getInteger("rpmR2900Fue"));}
        if(doc.containsKey("rpmR2900Dur")){ m.setRpmRange2900Duration(doc.getInteger("rpmR2900Dur"));}
        if(doc.containsKey("rpmR3000Mil")){ m.setRpmRange3000Mileage(doc.getInteger("rpmR3000Mil"));}
        if(doc.containsKey("rpmR3000Fue")){ m.setRpmRange3000Fuel(doc.getInteger("rpmR3000Fue"));}
        if(doc.containsKey("rpmR3000Dur")){ m.setRpmRange3000Duration(doc.getInteger("rpmR3000Dur"));}
        if(doc.containsKey("rpmRo3000Mil")){ m.setRpmRangeOver3000Mileage(doc.getInteger("rpmRo3000Mil"));}
        if(doc.containsKey("rpmRo3000Fue")){ m.setRpmRangeOver3000Fuel(doc.getInteger("rpmRo3000Fue"));}
        if(doc.containsKey("rpmRo3000Dur")){ m.setRpmRangeOver3000Duration(doc.getInteger("rpmRo3000Dur"));}
//          Map<Integer,RangeData> altitudeRanges -->
//          Map<Integer,RangeData> clockRanges -->
        if(doc.containsKey("workWt50Dur")){ m.setWorkWaterTemp50Duration(doc.getInteger("workWt50Dur"));}
        if(doc.containsKey("workWt70Dur")){ m.setWorkWaterTemp70Duration(doc.getInteger("workWt70Dur"));}
        if(doc.containsKey("workWt80Dur")){ m.setWorkWaterTemp80Duration(doc.getInteger("workWt80Dur"));}
        if(doc.containsKey("workWt85Dur")){ m.setWorkWaterTemp85Duration(doc.getInteger("workWt85Dur"));}
        if(doc.containsKey("workWt90Dur")){ m.setWorkWaterTemp90Duration(doc.getInteger("workWt90Dur"));}
        if(doc.containsKey("workWt95Dur")){ m.setWorkWaterTemp95Duration(doc.getInteger("workWt95Dur"));}
        if(doc.containsKey("workWt100Dur")){ m.setWorkWaterTemp100Duration(doc.getInteger("workWt100Dur"));}
        if(doc.containsKey("workWt105Dur")){ m.setWorkWaterTemp105Duration(doc.getInteger("workWt105Dur"));}
        if(doc.containsKey("workWt110Dur")){ m.setWorkWaterTemp110Duration(doc.getInteger("workWt110Dur"));}
        if(doc.containsKey("workWt115Dur")){ m.setWorkWaterTemp115Duration(doc.getInteger("workWt115Dur"));}
        if(doc.containsKey("workWt120Dur")){ m.setWorkWaterTemp120Duration(doc.getInteger("workWt120Dur"));}
        if(doc.containsKey("workWt125Dur")){ m.setWorkWaterTemp125Duration(doc.getInteger("workWt125Dur"));}
        if(doc.containsKey("workWt130Dur")){ m.setWorkWaterTemp130Duration(doc.getInteger("workWt130Dur"));}
        if(doc.containsKey("workWt135Dur")){ m.setWorkWaterTemp135Duration(doc.getInteger("workWt135Dur"));}
        if(doc.containsKey("workWt140Dur")){ m.setWorkWaterTemp140Duration(doc.getInteger("workWt140Dur"));}
        if(doc.containsKey("workWt145Dur")){ m.setWorkWaterTemp145Duration(doc.getInteger("workWt145Dur"));}
        if(doc.containsKey("workWt150Dur")){ m.setWorkWaterTemp150Duration(doc.getInteger("workWt150Dur"));}
        if(doc.containsKey("workWto150Dur")){ m.setWorkWaterTempOver150Duration(doc.getInteger("workWto150Dur"));}
        if(doc.containsKey("idleWt50Dur")){ m.setIdleWaterTemp50Duration(doc.getInteger("idleWt50Dur"));}
        if(doc.containsKey("idleWt70Dur")){ m.setIdleWaterTemp70Duration(doc.getInteger("idleWt70Dur"));}
        if(doc.containsKey("idleWt80Dur")){ m.setIdleWaterTemp80Duration(doc.getInteger("idleWt80Dur"));}
        if(doc.containsKey("idleWt85Dur")){ m.setIdleWaterTemp85Duration(doc.getInteger("idleWt85Dur"));}
        if(doc.containsKey("idleWt90Dur")){ m.setIdleWaterTemp90Duration(doc.getInteger("idleWt90Dur"));}
        if(doc.containsKey("idleWt95Dur")){ m.setIdleWaterTemp95Duration(doc.getInteger("idleWt95Dur"));}
        if(doc.containsKey("idleWt100Dur")){ m.setIdleWaterTemp100Duration(doc.getInteger("idleWt100Dur"));}
        if(doc.containsKey("idleWt105Dur")){ m.setIdleWaterTemp105Duration(doc.getInteger("idleWt105Dur"));}
        if(doc.containsKey("idleWt110Dur")){ m.setIdleWaterTemp110Duration(doc.getInteger("idleWt110Dur"));}
        if(doc.containsKey("idleWt115Dur")){ m.setIdleWaterTemp115Duration(doc.getInteger("idleWt115Dur"));}
        if(doc.containsKey("idleWt120Dur")){ m.setIdleWaterTemp120Duration(doc.getInteger("idleWt120Dur"));}
        if(doc.containsKey("idleWt125Dur")){ m.setIdleWaterTemp125Duration(doc.getInteger("idleWt125Dur"));}
        if(doc.containsKey("idleWt130Dur")){ m.setIdleWaterTemp130Duration(doc.getInteger("idleWt130Dur"));}
        if(doc.containsKey("idleWt135Dur")){ m.setIdleWaterTemp135Duration(doc.getInteger("idleWt135Dur"));}
        if(doc.containsKey("idleWt140Dur")){ m.setIdleWaterTemp140Duration(doc.getInteger("idleWt140Dur"));}
        if(doc.containsKey("idleWt145Dur")){ m.setIdleWaterTemp145Duration(doc.getInteger("idleWt145Dur"));}
        if(doc.containsKey("idleWt150Dur")){ m.setIdleWaterTemp150Duration(doc.getInteger("idleWt150Dur"));}
        if(doc.containsKey("idleWto150Dur")){ m.setIdleWaterTempOver150Duration(doc.getInteger("idleWto150Dur"));}
        if(doc.containsKey("maxWwTemp")){ m.setMaxWorkWaterTemp(doc.getInteger("maxWwTemp"));}
        if(doc.containsKey("minWwTemp")){ m.setMinWorkWaterTemp(doc.getInteger("minWwTemp"));}
        if(doc.containsKey("workWtSum")){ m.setWorkWaterTempSum(doc.getLong("workWtSum"));}
        if(doc.containsKey("workWtCount")){ m.setWorkWaterTempCount(doc.getInteger("workWtCount"));}
        if(doc.containsKey("maxIwTemp")){ m.setMaxIdleWaterTemp(doc.getInteger("maxIwTemp"));}
        if(doc.containsKey("minIwTemp")){ m.setMinIdleWaterTemp(doc.getInteger("minIwTemp"));}
        if(doc.containsKey("idleWtSum")){ m.setIdleWaterTempSum(doc.getLong("idleWtSum"));}
        if(doc.containsKey("idleWtCount")){ m.setIdleWaterTempCount(doc.getInteger("idleWtCount"));}
        if(doc.containsKey("gasOp0Dur")){ m.setGasOpenPercent0Duration(doc.getInteger("gasOp0Dur"));}
        if(doc.containsKey("gasOp10Dur")){ m.setGasOpenPercent10Duration(doc.getInteger("gasOp10Dur"));}
        if(doc.containsKey("gasOp20Dur")){ m.setGasOpenPercent20Duration(doc.getInteger("gasOp20Dur"));}
        if(doc.containsKey("gasOp30Dur")){ m.setGasOpenPercent30Duration(doc.getInteger("gasOp30Dur"));}
        if(doc.containsKey("gasOp40Dur")){ m.setGasOpenPercent40Duration(doc.getInteger("gasOp40Dur"));}
        if(doc.containsKey("gasOp50Dur")){ m.setGasOpenPercent50Duration(doc.getInteger("gasOp50Dur"));}
        if(doc.containsKey("gasOp60Dur")){ m.setGasOpenPercent60Duration(doc.getInteger("gasOp60Dur"));}
        if(doc.containsKey("gasOp70Dur")){ m.setGasOpenPercent70Duration(doc.getInteger("gasOp70Dur"));}
        if(doc.containsKey("gasOp80Dur")){ m.setGasOpenPercent80Duration(doc.getInteger("gasOp80Dur"));}
        if(doc.containsKey("gasOp90Dur")){ m.setGasOpenPercent90Duration(doc.getInteger("gasOp90Dur"));}
        if(doc.containsKey("gasOp99Dur")){ m.setGasOpenPercent99Duration(doc.getInteger("gasOp99Dur"));}
        if(doc.containsKey("gasOp100Dur")){ m.setGasOpenPercent100Duration(doc.getInteger("gasOp100Dur"));}
        if(doc.containsKey("torque0Dur")){ m.setTorque0Duration(doc.getInteger("torque0Dur"));}
        if(doc.containsKey("torque10Dur")){ m.setTorque10Duration(doc.getInteger("torque10Dur"));}
        if(doc.containsKey("torque20Dur")){ m.setTorque20Duration(doc.getInteger("torque20Dur"));}
        if(doc.containsKey("torque30Dur")){ m.setTorque30Duration(doc.getInteger("torque30Dur"));}
        if(doc.containsKey("torque40Dur")){ m.setTorque40Duration(doc.getInteger("torque40Dur"));}
        if(doc.containsKey("torque50Dur")){ m.setTorque50Duration(doc.getInteger("torque50Dur"));}
        if(doc.containsKey("torque60Dur")){ m.setTorque60Duration(doc.getInteger("torque60Dur"));}
        if(doc.containsKey("torque70Dur")){ m.setTorque70Duration(doc.getInteger("torque70Dur"));}
        if(doc.containsKey("torque80Dur")){ m.setTorque80Duration(doc.getInteger("torque80Dur"));}
        if(doc.containsKey("torque90Dur")){ m.setTorque90Duration(doc.getInteger("torque90Dur"));}
        if(doc.containsKey("torque99Dur")){ m.setTorque99Duration(doc.getInteger("torque99Dur"));}
        if(doc.containsKey("torque100Dur")){ m.setTorque100Duration(doc.getInteger("torque100Dur"));}
        if(doc.containsKey("maxTorque")){ m.setMaxTorque(doc.getInteger("maxTorque"));}
        if(doc.containsKey("minTorque")){ m.setMinTorque(doc.getInteger("minTorque"));}
        if(doc.containsKey("torqueSum")){ m.setTorqueSum(doc.getLong("torqueSum"));}
        if(doc.containsKey("torqueCount")){ m.setTorqueCount(doc.getInteger("torqueCount"));}
        if(doc.containsKey("noIrSum")){ m.setNoIdleRpmSum(doc.getLong("noIrSum"));}
        if(doc.containsKey("noIrCount")){ m.setNoIdleRpmCount(doc.getInteger("noIrCount"));}
        if(doc.containsKey("rpmSum")){ m.setRpmSum(doc.getLong("rpmSum"));}
        if(doc.containsKey("rpmCount")){ m.setRpmCount(doc.getInteger("rpmCount"));}
        if(doc.containsKey("maxRpm")){ m.setMaxRpm(doc.getInteger("maxRpm"));}
        if(doc.containsKey("minRpm")){ m.setMinRpm(doc.getInteger("minRpm"));}
        if(doc.containsKey("iat50Dur")){ m.setIat50Duration(doc.getInteger("iat50Dur"));}
        if(doc.containsKey("iat70Dur")){ m.setIat70Duration(doc.getInteger("iat70Dur"));}
        if(doc.containsKey("iat80Dur")){ m.setIat80Duration(doc.getInteger("iat80Dur"));}
        if(doc.containsKey("iat85Dur")){ m.setIat85Duration(doc.getInteger("iat85Dur"));}
        if(doc.containsKey("iat90Dur")){ m.setIat90Duration(doc.getInteger("iat90Dur"));}
        if(doc.containsKey("iat95Dur")){ m.setIat95Duration(doc.getInteger("iat95Dur"));}
        if(doc.containsKey("iat100Dur")){ m.setIat100Duration(doc.getInteger("iat100Dur"));}
        if(doc.containsKey("iat105Dur")){ m.setIat105Duration(doc.getInteger("iat105Dur"));}
        if(doc.containsKey("iat110Dur")){ m.setIat110Duration(doc.getInteger("iat110Dur"));}
        if(doc.containsKey("iat115Dur")){ m.setIat115Duration(doc.getInteger("iat115Dur"));}
        if(doc.containsKey("iat120Dur")){ m.setIat120Duration(doc.getInteger("iat120Dur"));}
        if(doc.containsKey("iat125Dur")){ m.setIat125Duration(doc.getInteger("iat125Dur"));}
        if(doc.containsKey("iat130Dur")){ m.setIat130Duration(doc.getInteger("iat130Dur"));}
        if(doc.containsKey("iat135Dur")){ m.setIat135Duration(doc.getInteger("iat135Dur"));}
        if(doc.containsKey("iat140Dur")){ m.setIat140Duration(doc.getInteger("iat140Dur"));}
        if(doc.containsKey("iat145Dur")){ m.setIat145Duration(doc.getInteger("iat145Dur"));}
        if(doc.containsKey("iat150Dur")){ m.setIat150Duration(doc.getInteger("iat150Dur"));}
        if(doc.containsKey("iatO150Dur")){ m.setIatOver150Duration(doc.getInteger("iatO150Dur"));}
        if(doc.containsKey("iatSum")){ m.setIatSum(doc.getLong("iatSum"));}
        if(doc.containsKey("iatCount")){ m.setIatCount(doc.getInteger("iatCount"));}
        if(doc.containsKey("maxIat")){ m.setMaxIat(doc.getInteger("maxIat"));}
        if(doc.containsKey("minIat")){ m.setMinIat(doc.getInteger("minIat"));}
        if(doc.containsKey("ip50Dur")){ m.setIp50Duration(doc.getInteger("ip50Dur"));}
        if(doc.containsKey("ip60Dur")){ m.setIp60Duration(doc.getInteger("ip60Dur"));}
        if(doc.containsKey("ip70Dur")){ m.setIp70Duration(doc.getInteger("ip70Dur"));}
        if(doc.containsKey("ip80Dur")){ m.setIp80Duration(doc.getInteger("ip80Dur"));}
        if(doc.containsKey("ip90Dur")){ m.setIp90Duration(doc.getInteger("ip90Dur"));}
        if(doc.containsKey("ip100Dur")){ m.setIp100Duration(doc.getInteger("ip100Dur"));}
        if(doc.containsKey("ip110Dur")){ m.setIp110Duration(doc.getInteger("ip110Dur"));}
        if(doc.containsKey("ip120Dur")){ m.setIp120Duration(doc.getInteger("ip120Dur"));}
        if(doc.containsKey("ip130Dur")){ m.setIp130Duration(doc.getInteger("ip130Dur"));}
        if(doc.containsKey("ip140Dur")){ m.setIp140Duration(doc.getInteger("ip140Dur"));}
        if(doc.containsKey("ip150Dur")){ m.setIp150Duration(doc.getInteger("ip150Dur"));}
        if(doc.containsKey("ipO150Dur")){ m.setIpOver150Duration(doc.getInteger("ipO150Dur"));}
        if(doc.containsKey("ipSum")){ m.setIpSum(doc.getLong("ipSum"));}
        if(doc.containsKey("ipCount")){ m.setIpCount(doc.getInteger("ipCount"));}
        if(doc.containsKey("maxIp")){ m.setMaxIp(doc.getInteger("maxIp"));}
        if(doc.containsKey("minIp")){ m.setMinIp(doc.getInteger("minIp"));}
        if(doc.containsKey("crossCities")){ m.setCrossCities(doc.getString("crossCities"));}
        if(doc.containsKey("so90Num")){ m.setSo90Number(doc.getInteger("so90Num"));}
        if(doc.containsKey("so90Dur")){ m.setSo90Duration(doc.getInteger("so90Dur"));}
        if(doc.containsKey("so90Mil")){ m.setSo90Mileage(doc.getInteger("so90Mil"));}
        if(doc.containsKey("so120Num")){ m.setSo120Number(doc.getInteger("so120Num"));}
        if(doc.containsKey("so120Dur")){ m.setSo120Duration(doc.getInteger("so120Dur"));}
        if(doc.containsKey("so120Mil")){ m.setSo120Mileage(doc.getInteger("so120Mil"));}
        if(doc.containsKey("srNum")){ m.setSrNumber(doc.getInteger("srNum"));}
        if(doc.containsKey("srDur")){ m.setSrDuration(doc.getInteger("srDur"));}
        if(doc.containsKey("srMil")){ m.setSrMileage(doc.getInteger("srMil"));}
        if(doc.containsKey("srFue")){ m.setSrFuel(doc.getInteger("srFue"));}
        if(doc.containsKey("lrogNum")){ m.setLrogNumber(doc.getInteger("lrogNum"));}
        if(doc.containsKey("lrogDur")){ m.setLrogDuration(doc.getInteger("lrogDur"));}
        if(doc.containsKey("lrogMil")){ m.setLrogMileage(doc.getInteger("lrogMil"));}
        if(doc.containsKey("lrogFue")){ m.setLrogFuel(doc.getInteger("lrogFue"));}
        if(doc.containsKey("hsbNum")){ m.setHsbNumber(doc.getInteger("hsbNum"));}
        if(doc.containsKey("hsbDur")){ m.setHsbDuration(doc.getInteger("hsbDur"));}
        if(doc.containsKey("hsbMil")){ m.setHsbMileage(doc.getInteger("hsbMil"));}
        if(doc.containsKey("csbNum")){ m.setCsbNumber(doc.getInteger("csbNum"));}
        if(doc.containsKey("csbDur")){ m.setCsbDuration(doc.getInteger("csbDur"));}
        if(doc.containsKey("csbMil")){ m.setCsbMileage(doc.getInteger("csbMil"));}
        if(doc.containsKey("clutchNum")){ m.setClutchNumber(doc.getInteger("clutchNum"));}
        if(doc.containsKey("clutchDur")){ m.setClutchDuration(doc.getInteger("clutchDur"));}
        if(doc.containsKey("clutchMil")){ m.setClutchMileage(doc.getInteger("clutchMil"));}
        if(doc.containsKey("shartTNum")){ m.setSharpTurningNumber(doc.getInteger("shartTNum"));}
        if(doc.containsKey("shartTMil")){ m.setSharpTurningMil(doc.getInteger("shartTMil"));}
        if(doc.containsKey("so90Fue")){ m.setSo90Fuel(doc.getInteger("so90Fue"));}
        if(doc.containsKey("so120Fue")){ m.setSo120Fuel(doc.getInteger("so120Fue"));}
        if(doc.containsKey("fatigueDur")){ m.setFatigueDrivingDuration(doc.getInteger("fatigueDur"));}
        if(doc.containsKey("pcsFlag")){ m.setPreciseFlag(doc.getInteger("pcsFlag"));}
        if(doc.containsKey("wlType")){ m.setWloadType(doc.getInteger("wlType"));}
//          List<InterCrossCity> ccDetail -->
        /*--end_row*/
        m.setAltitudeRanges(getRangeData(doc, "altitudeRanges"));
        m.setClockRanges(getRangeData(doc, "clockRanges"));
        m.setDay(doc.getString("day"));
        if(doc.containsKey("ccDetail")){
            m.setCrossCitiesDetail(GsonUtils.gsonToList(doc.getString("ccDetail"), InterCrossCity.class));
        }

        //东风新增字段
        if(doc.containsKey("fuel100KM")){m.setFuel100KM(doc.getInteger("fuel100KM"));}
        if(doc.containsKey("avgSpeedNoidle")){m.setAvgSpeedNoidle(doc.getInteger("avgSpeedNoidle"));}
        if(doc.containsKey("avgSpeed")){m.setAvgSpeed(doc.getInteger("avgSpeed"));}
        if(doc.containsKey("ecoProportion")){m.setEcoProportion(doc.getInteger("ecoProportion"));}
        if(doc.containsKey("brakeTimes")){m.setBrakeTimes(doc.getInteger("brakeTimes"));}
        //东风新增，急加速
        if(doc.containsKey("sharpUs1Mil")){ m.setSharpUpSpeed1Mileage(doc.getInteger("sharpUs1Mil"));}
        if(doc.containsKey("sharpUs1Fue")){ m.setSharpUpSpeed1Fuel(doc.getInteger("sharpUs1Fue"));}
        if(doc.containsKey("sharpUs1Dur")){ m.setSharpUpSpeed1Duration(doc.getInteger("sharpUs1Dur"));}
        if(doc.containsKey("sharpUs1Num")){ m.setSharpUpSpeed1Number(doc.getInteger("sharpUs1Num"));}
        //东风新增，急减速
        if(doc.containsKey("sharpDs1Mil")){ m.setSharpDownSpeed1Mileage(doc.getInteger("sharpDs1Mil"));}
        if(doc.containsKey("sharpDs1Fue")){ m.setSharpDownSpeed1Fuel(doc.getInteger("sharpDs1Fue"));}
        if(doc.containsKey("sharpDs1Dur")){ m.setSharpDownSpeed1Duration(doc.getInteger("sharpDs1Dur"));}
        if(doc.containsKey("sharpDs1Num")){ m.setSharpDownSpeed1Number(doc.getInteger("sharpDs1Num"));}
        //东风新增，急转弯
        if(doc.containsKey("sharpT1Num")){ m.setSharpTurning1Number(doc.getInteger("sharpT1Num"));}
        //东风新增，超长怠速
        if(doc.containsKey("longIdleFue")){ m.setLongIdleFuel(doc.getInteger("longIdleFue"));}
        if(doc.containsKey("longIdleDur")){ m.setLongIdleDuration(doc.getInteger("longIdleDur"));}
        if(doc.containsKey("longIdleNum")){  m.setLongIdleNumber(doc.getInteger("longIdleNum"));}
        //东风新增，冷车运行
        if(doc.containsKey("coldRunMil")){ m.setColdRunningMileage(doc.getInteger("coldRunMil"));}
        if(doc.containsKey("coldRunFue")){  m.setColdRunningFuel(doc.getInteger("coldRunFue"));}
        if(doc.containsKey("coldRunDur")){  m.setColdRunningDuration(doc.getInteger("coldRunDur"));}
        if(doc.containsKey("coldRunNum")){ m.setColdRunningNumber(doc.getInteger("coldRunNum"));}
        //东风新增，夜晚开车
        if(doc.containsKey("nightRunMil")){ m.setNightRunningMileage(doc.getInteger("nightRunMil"));}
        if(doc.containsKey("nightRunFue")){ m.setNightRunningFuel(doc.getInteger("nightRunFue"));}
        if(doc.containsKey("nightRunDur")){ m.setNightRunningDuration(doc.getInteger("nightRunDur"));}
        if(doc.containsKey("nightRunNum")){ m.setNightRunningNumber(doc.getInteger("nightRunNum"));}
        //东风新增，引擎高转速
        if(doc.containsKey("hrMil")){ m.setHighRotationMileage(doc.getInteger("hrMil"));}
        if(doc.containsKey("hrFue")){ m.setHighRotationFuel(doc.getInteger("hrFue"));}
        if(doc.containsKey("hrDur")){ m.setHighRotationDuration(doc.getInteger("hrDur"));}
        if(doc.containsKey("hrNum")){ m.setHighRotationNumber(doc.getInteger("hrNum"));}
        //东风新增，大油门
        if(doc.containsKey("lGasMil")){ m.setLargeGasMileage(doc.getInteger("lGasMil"));}
        if(doc.containsKey("lGasFue")){ m.setLargeGasFuel(doc.getInteger("lGasFue"));}
        if(doc.containsKey("lGasDur")){ m.setLargeGasDuration(doc.getInteger("lGasDur"));}
        if(doc.containsKey("lGasNum")){ m.setLargeGasNumber(doc.getInteger("lGasNum"));}
        //东风新增，全油门
        if(doc.containsKey("fGasMil")){ m.setFullGasMileage(doc.getInteger("fGasMil"));}
        if(doc.containsKey("fGasFue")){ m.setFullGasFuel(doc.getInteger("fGasFue"));}
        if(doc.containsKey("fGasDur")){ m.setFullGasDuration(doc.getInteger("fGasDur"));}
        if(doc.containsKey("fGasNum")){ m.setFullGasNumber(doc.getInteger("fGasNum"));}
        //东风新增，高速行驶
        if(doc.containsKey("fSpeedMil")){ m.setFastSpeedMileage(doc.getInteger("fSpeedMil"));}
        if(doc.containsKey("fSpeedFue")){ m.setFastSpeedFuel(doc.getInteger("fSpeedFue"));}
        if(doc.containsKey("fSpeedDur")){ m.setFastSpeedDuration(doc.getInteger("fSpeedDur"));}
        if(doc.containsKey("fSpeedNum")){ m.setFastSpeedNumber(doc.getInteger("fSpeedNum"));}
        //东风新增，空档滑行
        if(doc.containsKey("neutralGc1Mil")){ m.setNeutralGearCoast1Mileage(doc.getInteger("neutralGc1Mil"));}
        if(doc.containsKey("neutralGc1Fue")){ m.setNeutralGearCoast1Fuel(doc.getInteger("neutralGc1Fue"));}
        if(doc.containsKey("neutralGc1Dur")){ m.setNeutralGearCoast1Duration(doc.getInteger("neutralGc1Dur"));}
        if(doc.containsKey("neutralGc1Num")){ m.setNeutralGearCoast1Number(doc.getInteger("neutralGc1Num"));}
        //东风新增，熄火滑行
        if(doc.containsKey("fCoastMil")){ m.setFlameoutCoastMileage(doc.getInteger("fCoastMil"));}
        if(doc.containsKey("fCoastFue")){ m.setFlameoutCoastFuel(doc.getInteger("fCoastFue"));}
        if(doc.containsKey("fCoastDur")){ m.setFlameoutCoastDuration(doc.getInteger("fCoastDur"));}
        if(doc.containsKey("fCoastNum")){ m.setFlameoutCoastNumber(doc.getInteger("fCoastNum"));}
        //东风新增，载重
        if(doc.containsKey("amtLoad")){ m.setAmtLoad(doc.getInteger("amtLoad"));}
        if(doc.containsKey("vecuLoad")){ m.setVecuLoad(doc.getInteger("vecuLoad"));}
        if(doc.containsKey("loadType")){ m.setLoadType(doc.getInteger("loadType"));}

        return m;
    }

    private static Map<Integer, InterRangeData> getRangeData(Document doc, String name) {
        if(doc.containsKey(name)){
            Document subDoc=(Document)doc.get(name);
            Map<Integer, InterRangeData> map=new HashMap<>();
            for(Map.Entry<String, Object> entry1: subDoc.entrySet()){
                Integer key=Integer.valueOf(entry1.getKey());
                InterRangeData value= GsonUtils.gsonToBean(GsonUtils.gsonString(entry1.getValue()), InterRangeData.class);
                map.put(key,value);
            }
            return map;
        }
        return null;
    }
}
